When to use direct messages
Use direct messages when only specific members should join the conversation. Examples:- Buyer-to-seller messaging inside your app
- A private coaching thread between a coach and client
- A small group conversation for a project, cohort, or team
- A marketplace conversation between two matched users
- User-to-user messaging inside your app
What makes direct messages different
DMs are the chat type for private conversations between specific users.- They can be one-on-one or group conversations with up to 50 members.
- Only the users added as members can see and participate in the conversation.
- They appear in the DMs list element, so users can browse and open their recent conversations.
- You can scope them to your company, giving your embedded app its own inbox separate from unrelated Whop messages.
- They support custom conversation names and member management.
Constraints
- DMs don’t grant access based on product membership. Add or remove members directly when access changes.
- DMs don’t have admin-only, read-only, or room-level moderation controls. Use channels for moderated rooms.
- DMs don’t include a support inbox or open/resolved workflow. Use support chats for customer support.
- DMs aren’t designed for large communities, announcements, or member-wide rooms. Use channels for that.
Access model
Each DM has members. Those members are the only users who can see and participate in the conversation. When you create DMs for embedded chat, keep them tied to your company. This gives your app its own inbox and keeps conversations separate from the rest of Whop.DM channel IDs start with
feed_.Set up a direct message
1
Sync or create users
Make sure every participant has a Whop user ID. If your app has its own users, map them to Whop users first. See Sync your users.
2
Create the DM channel
Use Create DM Channel to create the conversation with its initial members.
3
Add more members when needed
Use Create DM Member to add a user to an existing DM. Use Delete DM Member to remove one.
4
Render the conversation or list
Use the Chat element for a single DM, or the DMs list element to let users pick from their conversations.
- React
- Vanilla JS
- Swift
Manage direct messages
Use List DM Channels, Update DM Channel, and Delete DM Channel to manage conversations. Use List DM Members, Create DM Member, and Delete DM Member to manage participants.Next steps
DMs list element
Show DM conversations and handle channel selection.
Sync your users
Create or map Whop users before creating DM channels.

