Assistant WhatsApp Chat
Start a WhatsApp conversation with a customer from the business side. This endpoint:
- Validates that from is a WhatsApp number on your account whose messaging profile has this assistant configured
- Creates a new whatsapp_chat conversation with the provided metadata
- Asks the assistant to pick one of its approved WhatsApp templates and fill its variables from content
- Sends the template from from to to
- Returns the conversation ID and the message ID
When the customer replies, the reply is routed to the same conversation and the assistant answers within the 24-hour customer service window. The assistant needs a whatsapp_template tool with at least one approved template, data retention enabled and PII redaction disabled.
Path parameters
Unique identifier of the assistant. Must be the assistant configured on the messaging profile of the from number.
Headers
Optional opaque, unquoted key for safely retrying the same logical request. Keys must contain 1 to 255 letters, numbers, hyphens, or underscores. Generate a unique UUID v4 for each operation and reuse it only when retrying that operation with the same request. Invalid headers—including duplicate, empty, malformed, or overlong values—return 400 with error code 10015. A request already in progress with the same key returns 409; reusing the key with a different request returns 422. Only successful responses are replayed, for up to 24 hours. Do not include sensitive data in the key.
Request body
Response
Successful Response
Changes
Changed in 1 of the 112 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○
Of the 112 revisions, 1 has no diff computed.