Skip to main content
Use the Chat API to send messages, manage channels, open support conversations, and read reactions. Channels are identified 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 auto-paginate. Iterate the response and the SDK fetches additional pages for you.

Manage channels

Update moderation settings (banned words, cooldowns, who can post or react) or list every channel on a company.
who_can_post and who_can_react accept everyone, members_only, or admins_only.

React to a message

Support channels

Support channels are 1:1 threads between a user and a company, useful for help desks or concierge flows. create returns the existing channel if one already exists for the user.

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).