JSON, or multipart for files. quote_id replies to a message of this chat. Answers 201.
Your API key from the console (gw_live_…).
In: header
Path Parameters
A chat id (wac_…), or a WhatsApp JID / phone number together with account_id.
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/wac_k3J9sLq2Vx8nB4mR/messages" \ -H "Content-Type: application/json" \ -d '{ "text": "See you tomorrow.", "quote_id": "wam_P7tR2wQ9zL4kN8vX", "client_id": "send-2026-10-31-0002" }'{ "object": "MessageSent", "message_id": "wam_P7tR2wQ9zL4kN8vX"}Act on a chat PATCH
`action`: `setReadStatus`, `setMuteStatus`, `setArchiveStatus`, `setPinnedStatus` (`value` true/false), `addParticipant`, `removeParticipant` (`value` a JID; groups only), `setLabel` (`value` a label id), `getInviteLink` (groups; answers `invite_link`). 400 for an unknown action or a missing `value`.
Start a chat POST
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.