- Prepare your coding agent
- Ask Claude Code to build the booking inbox
- Turn a chat message into a booking card
- Use the CLI to verify the confirmation data
- Refine the interface with a second request
- Check the host and guest screens
- Connect the pattern to your booking service
- Build your own booking chat

Boost ops efficiency, drive revenue, & save big with omnichannel messaging
Build a React Booking Inbox with Claude Code and Sendbird CLI


- Prepare your coding agent
- Ask Claude Code to build the booking inbox
- Turn a chat message into a booking card
- Use the CLI to verify the confirmation data
- Refine the interface with a second request
- Check the host and guest screens
- Connect the pattern to your booking service
- Build your own booking chat

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 for managing Sendbird applications and running supported integration checks. The Client plugin is Sendbird's official plugin for Claude Code and Codex. It gives your AI coding agent Sendbird-specific guidance for implementing SDK integrations.
In this guide, we use Claude Code and Sendbird to build Staybird, a React inbox where hosts and guests exchange messages and see booking confirmations as cards inside the conversation.
The agent builds custom screens on the Sendbird Chat SDK, sends a confirmation through the CLI, and checks the data returned to the guest. Our team then checks how a separate confirmation appears in the browser.
Explore the tools on the Sendbird CLI and Client Plugin page.
Use a Sendbird test app and a project that does not serve real customers. Staybird signs in with a user ID only, so use a test app that allows sign-in without an access token.
Install the CLI, then add the Sendbird CLI plugin and the Sendbird Client plugin to Claude Code. Run these commands in your project folder:
Terminal / Install the CLI and Client plugin
npm install -g @sendbird/cli
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. The CLI Quickstart covers onboarding, and the Client plugin guide explains the implementation skills.
For source and installation details, see the Sendbird plugin marketplace repository, the Client plugin source, and the Sendbird CLI package on npm.
We gave the agent this request:
Claude Code / Original build request
Build an Airbnb-style host and guest inbox in React with my own chat screens on the Chat SDK (call it Staybird, no Airbnb branding), where a booking confirmation shows as a card in the chat; then use the Sendbird CLI to send a booking confirmation as the host and prove it arrives as that card's data.The request specifies both the interface and the check: build custom chat screens, then verify a booking confirmation against the Sendbird test app.
The agent built an inbox with All, Hosting, and Traveling views, conversation previews, and unread counts. In the conversation screen, messages render as either ordinary chat bubbles or booking cards.
For the CLI check, it reused an existing test host, guest, and one-to-one conversation.
The booking card is rendered by Staybird’s application code.
The agent defined a message with the custom type booking_confirmation and a JSON data payload containing the reservation details:
Message data / Booking confirmation
{
"bookingId": "SB-20261105-0427",
"listingTitle": "Hanok Courtyard Stay",
"checkIn": "2026-12-18",
"checkOut": "2026-12-22",
"guests": 2,
"totalPrice": 640,
"currency": "USD",
"status": "confirmed"
}The conversation screen checks the message’s custom type and passes its data to a booking-card parser. That parser supplies the listing name, dates, guest count, price, and confirmation status to the card component.
The message also includes a text body so its meaning remains available in a client that does not render the custom card.
This separates the responsibilities clearly: Sendbird carries the message and its data, while the React app decides how to display that data.
The agent used the CLI to send the confirmation as the test host, then retrieve the message as the guest.
It checked that the retrieved message contained the intended sender, the booking_confirmation custom type, and the same JSON payload. Passing that payload through the app’s parser produced a confirmed booking for four nights, two guests, and $640.
This verified the message data and the application’s parsing logic. The agent did not open a browser or visually inspect the card during this step.
The CLI made the check concrete: the agent could send a message against the test app and inspect what another user could retrieve.
Once the messaging behavior was in place, we asked for a visual refinement:
Claude Code / Original design request
Restyle Staybird so it looks and feels like Airbnb: white, coral accent, rounded listing cards with photos, soft shadows. Keep the name Staybird and don't use Airbnb's logo. Only change the look; keep the chat behavior as it is and don't use the Sendbird CLI.The resulting interface used a white and coral palette, rounded listing cards, and soft shadows. The listing visuals in the demo are illustrations rather than actual property photographs.
After the agent finished, our team opened the host and guest browser sessions and selected the same conversation.
We used the CLI to send an additional confirmation for Seaside Cabin with Sauna: three nights, three guests, and a total price of $915.
The guest’s conversation showed the additional booking card, increasing the visible card count from one to two.
This browser check confirmed the visible result separately from the agent’s earlier data readback.
Staybird demonstrates the messaging interface and booking-card format. In a real service, your backend should authenticate the host and guest, issue their Sendbird session tokens, and control access to each conversation.
Your booking system should also determine when a reservation is confirmed and which details are sent. A confirmation card displays booking information; it does not create a reservation or process a payment.
Keep the CLI as a development and verification tool. Implement the production workflow in your application and backend.
Start with one host, one guest, and one conversation. Ask your coding agent to build the interface and verify a confirmation message through the CLI. Then check the card in both users’ screens before expanding the workflow.
The same pattern can support appointment confirmations, order summaries, or delivery updates: define the message data, implement its presentation, and verify what the recipient receives.
Start building with Sendbird for free. Add chat to your app with the Client plugin’s Add Chat guide.
Staybird is a demonstration app inspired by a host-and-guest messaging pattern. It is not affiliated with Airbnb and does not use Airbnb’s logo.






