
Boost ops efficiency, drive revenue, & save big with omnichannel messaging
Build Tinder-Style React Chat with Claude Code and Sendbird CLI



Boost ops efficiency, drive revenue, & save big with omnichannel messaging

Boost ops efficiency, drive revenue, & save big with omnichannel messaging
Sendbird CLI is a command-line interface that lets developers and AI coding agents configure Sendbird apps, manage Chat resources, and run supported integration checks from a terminal. The official CLI plugin helps Claude Code use the CLI to manage and inspect a Sendbird test app. The Sendbird Client Plugin supplies Sendbird skills and SDK guidance; the Chat SDK powers messaging in the app.
In this build story, Claude Code created Kindling, a React dating-app demo with profile discovery, matches, and 1:1 chat. The agent then used the CLI to test a specific requirement: after one person blocks a match, that match’s new messages must stop appearing for the person who blocked them.
The important result was different on each side. The blocked sender’s next send was accepted and appeared in their own history. The recipient received no message event during the observation window, and their history excluded that message. That distinction is why testing from both users’ perspectives matters.
Prepare Claude Code and a Sendbird test app
You need Claude Code, a local browser for Dashboard sign-in, and a Sendbird test app. The current CLI setup requirements support Node.js 22.23.4 or later in the 22.x line, or 24.22.1 or later in the 24.x line. Have Bash and jq available for the Client Plugin’s local scripts. These setup instructions are for readers starting now; the execution excerpts below preserve the recorded run.
To reproduce the guest-mode checks below, use a test app that allows user-ID-only connections (token policy 0) and test users who have never been issued tokens. If your app requires tokens, follow the Add Chat development sign-in instructions and adapt the authentication steps. --allow-guest does not override the app’s token policy.
Install the CLI, sign in, and select your test app. These examples create users, channels, and real test messages.
npm install -g @sendbird/cli
sendbird --version
sendbird setup
claude plugin marketplace add sendbird/sendbird-plugins
claude plugin install sendbird-cli@sendbird
claude plugin install sendbird-client@sendbirdStart a new Claude Code session after installation so both plugins load. Open an empty project folder for the build request.
The official entry points are the CLI package on npm, the Sendbird plugin marketplace, and the Client Plugin repository. The CLI plugin guide covers account and resource tasks; the Client Plugin guides the app implementation.
Ask Claude Code to build match chat
This was the exact first request:
Build a Tinder-style dating app in React with my own chat screens on the Chat SDK (call it Kindling, no Tinder branding) where each match is a 1:1 chat and you can block a match, then use the Sendbird CLI to block a test match and prove their messages no longer reach you.“My own chat screens on the Chat SDK” specifies a custom interface. The final clause gives the agent an observable acceptance condition, beyond generating a screen or completing a build.
The agent created test users kindling_mia and kindling_jordan, then a distinct two-member group channel with custom type kindling_match. A match used that channel for its 1:1 conversation. Before blocking, Mia’s CLI watcher received Jordan’s message, 413298053, establishing that the receiving path worked.
The screenshots are cropped and recolored for this article. In the app itself, the accent is the red-to-pink gradient requested. Their message content and recorded states are unchanged; the black palette is an image edit, rather than the result of a new app run.
Our team’s screenshot of the initial interface uses Sofia and Noah, a different pair from Mia and Jordan in the CLI verification below.
Verify blocking from both users’ perspectives
The agent blocked Jordan as Mia and read back the blocked-user list. It then started a new 30-second watcher as Mia while Jordan sent another message.
The following excerpt is abridged from the recorded run. The recorded commands also passed --app-id <app-id> and --json, which prints the JSON lines shown here. Both are left out of these abridged excerpts. <match> represents that test channel’s URL. The recorded test used guest-capable users, hence --allow-guest; that flag is not a replacement for production authentication.
$ sendbird chat sdk user block --as-user kindling_mia --allow-guest --user-id kindling_jordan --yes
{"ok":true,"status":"accepted","result":{"user_id":"kindling_jordan","blocked":true}}
$ sendbird chat channel watch --type group --id <match> --as-user kindling_mia --allow-guest --seconds 30
{"event":{"event":"ready","channel":{…,"unread_message_count":1},…}}
# Meanwhile, Jordan's send was accepted: message 413298076.
{"status":"completed","result":{"event":"complete","reason":"duration","events":0}}The 1 unread message is Jordan's earlier message (413298053), which Mia had not opened. The new message, 413298076, never reached her.
A watcher with zero events alone could leave a connection problem unresolved. The agent also retrieved the conversation as each user. Below, the message-list results are reduced to ID, sender, and text, as in the source record’s jq extraction.
$ sendbird chat message list --type group --id <match> --as-user kindling_mia --allow-guest
413298053 kindling_jordan "Hey Mia! (before block)"
$ sendbird chat message list --type group --id <match> --as-user kindling_jordan --allow-guest
413298053 kindling_jordan "Hey Mia! (before block)"
413298076 kindling_jordan "Mia, are you there? (after block)"The blocking check passed: Jordan’s accepted message was present in Jordan’s history and absent from Mia’s history, alongside zero events in Mia’s observation window. An accepted send did not establish delivery to Mia.
This matches the documented behavior for blocking in a 1:1 group channel. Do not generalize this result to group channels with more than two members, where blocking behavior differs.
Refine the interface and seed demo profiles
The second request changed the presentation and added profiles and conversations.
Restyle Kindling so it looks and feels like Tinder: a red-to-pink gradient accent, Discover cards filled edge to edge by the person's picture with their name and age in bold over a dark gradient, round match photos above the message list, and gradient outgoing bubbles. Keep the name Kindling, don't use Tinder's logo, and keep the chat behavior as it is. Then use the Sendbird CLI to add about eight demo people with illustrated avatars (no photos of real people), ages, cities and short bios, and a few matches with short chats for kindling_sofia.The agent added nine demo people with illustrated avatars, stored ages, cities, and bios as user metadata, and created four matches for kindling_sofia. Three of the four have short chats. It sent short conversations as the corresponding users and read the messages back to check the senders.
Check the recipient and sender screens separately
Our team then signed in as kindling_sofia and kindling_marco in separate browser sessions, using the profiles and conversations seeded by the agent. Sofia clicked Block in the app. Marco then sent “Still up for coffee on Saturday?”
Marco’s screen showed the message as sent. Sofia’s screen did not show it. The team’s CLI readback found Marco in Sofia’s blocked-user list and found the new message only in Marco’s user-specific history. The agent had tested blocking through the CLI; this check exercised the app’s Block button.
The recorded interface had a block-state refresh issue. Immediately after a successful block, its first blocked-list read could be empty and temporarily remove the banner. The blocked screenshot was captured after the team triggered the app's window-focus refresh; Marco’s message remained absent from Sofia’s view during this check. The app code was not fixed in this run.
Before shipping, retain a pending or confirmed local block state while reconciling the server result, and test the banner’s behavior across refreshes. A correct delivery restriction and a stable interface state are separate checks.
Connect match chat to your own service
Kindling demonstrates custom match chat, CLI-seeded test data, and recipient-side blocking checks. Its Like action creates a match immediately; it does not implement reciprocal matching. Your backend still owns matching rules, authenticated user identity, and authorization for channel membership.
For production connections, follow the Client Plugin’s server-issued token guidance. Map your existing user IDs to Sendbird users, issue tokens on your server, and enforce who may create or join each match conversation.
Start with one two-user test: confirm a message arrives, block the sender, send again, and compare both users’ events and histories. Then check the same interaction in the browser, including the blocked-state banner.
Start building with Sendbird for free. Add chat to your app with the Client Plugin’s Add Chat guide.
Kindling is a demonstration app inspired by a dating-app messaging pattern. It is not affiliated with Tinder and does not use Tinder’s logo.








