Create or start a chat
POST/v1/chats
Create a single/group chat (mode='create') or start a direct chat from merged user data (mode='start').
Body ParametersJSON
accountID: string
Account to create or start the chat on.
allowInvite: optional boolean
Whether invite-based DM creation is allowed when required by the platform. Used for mode='start'.
messageText: optional string
Optional first message content if the platform requires it to create the chat.
participantIDs: optional array of string
Required when mode='create'. User IDs to include in the new chat.
title: optional string
Optional title for group chats when mode='create'; ignored for single chats on most platforms.
Returns
chatID: string
Newly created chat ID.
Create or start a chat
curl http://localhost:23373/v1/chats \
-H 'Content-Type: application/json' \
-d '{
"accountID": "accountID"
}'{
"chatID": "!NCdzlIaMjZUmvmvyHU:beeper.com",
"status": "existing"
}Returns Examples
{
"chatID": "!NCdzlIaMjZUmvmvyHU:beeper.com",
"status": "existing"
}