Skip to main content
Use the Chat API to send messages, manage channels, open support conversations, and read reactions. Identify channels by experience_id or channel_id.
This page covers the server-side Chat API, for calling Whop from your backend to post, read, or moderate messages. If you want to render a live Whop chat UI inside your own frontend, see the embedded chat quickstart instead.

Initialize the SDK

Send a message

Messages support Markdown and optional attachments uploaded via the Files API.

Read messages

List operations paginate automatically. Iterate the response and the SDK fetches additional pages for you.

Manage channels

Use Update Channel to change a community channel’s moderation settings: banned words, posting cooldowns, and who can post or react. Use List Channels with kind set to community to list the chat channels on an account.
who_can_post accepts everyone or admins. who_can_react accepts everyone or no_one. Account API keys can update community channels only.

React to a message

Support channels

Support channels are 1:1 threads between a customer and an account. Use them for help desks or concierge flows. Create Channel with kind set to support returns the existing channel if one already exists for the customer. To list your account’s support inbox, call List Channels with kind set to support and support_role set to staff.

Required permissions

Add these from the Permissions guide before publishing your app.
Full schema: see the Messages API reference.

Next steps

Listen to events with webhooks

Receive chat events on your server instead of polling.

Send notifications

Push notifications to users who aren’t live in chat.

Upload files

Attach images and videos to messages.

Embed chat in your app

Drop-in Whop chat UI for your frontend (separate product).