Create
Create a chat
/v1/chats
Create a single or group chat on a specific account using participant IDs and optional title.
Body Parameters
accountID: string
Account to create the chat on.
participantIDs: array of string
User IDs to include in the new chat.
messageText: optional string
Optional first message content if the platform requires it to create the chat.
title: optional string
Optional title for group chats; ignored for single chats on most platforms.
Returns
chatID: optional string
Newly created chat if available.
Create a chat
curl http://localhost:23373/v1/chats \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BEEPER_ACCESS_TOKEN" \
-d '{
"accountID": "local-whatsapp_ba_EvYDBBsZbRQAy3UOSWqG0LuTVkc",
"participantIDs": [
"string"
],
"type": "single"
}'
{
"success": true,
"error": "error",
"chatID": "!NCdzlIaMjZUmvmvyHU:beeper.com"
}
Returns Examples
{
"success": true,
"error": "error",
"chatID": "!NCdzlIaMjZUmvmvyHU:beeper.com"
}