API referenceWhatsapp chats
POST
/whatsapp/api/v1/chats

One attendee: a message to that person (their chat is reused when it exists; a first message counts as a new chat against the caps and WhatsApp's quota, and the number is checked to be on WhatsApp first). Two or more: a new group named subject, with an optional first message. JSON, or multipart for files. Answers 201.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

JSON or multipart/form-data (needed for files). A list repeats its field name in multipart.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/whatsapp/api/v1/chats" \  -H "Content-Type: application/json" \  -d '{    "account_id": "wa_Xk2pQ9rT4vW8yZ1a",    "attendees_ids": [      "33612345678"    ],    "text": "Hello Jane!",    "client_id": "send-2026-10-31-0001"  }'
{  "object": "ChatStarted",  "chat_id": "wac_k3J9sLq2Vx8nB4mR",  "message_id": "wam_P7tR2wQ9zL4kN8vX"}