API referenceWhatsapp chats
POST
/whatsapp/api/v1/chats/{id}/messages

JSON, or multipart for files. quote_id replies to a message of this chat. Answers 201.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

A chat id (wac_…), or a WhatsApp JID / phone number together with account_id.

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/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"}