cURL
WhatsApp
Send WhatsApp Message
Send a WhatsApp message
POST
cURL
Only customers who lease numbers that support WhatsApp can use this endpoint.

Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Recipient's WhatsApp number. Must be in E.164 format.
Example:
"+1234567890"
The WhatsApp message to send
Example:
"Hello, world!"
Your leased WhatsApp number. If none is provided, we will use a random WhatsApp number of yours.
Example:
"+15555555555"
Should Contiguity fallback to SMS/RCS if the recipient does not have WhatsApp, or if WhatsApp fails to send?
Example:
{
"when": ["whatsapp_unsupported", "whatsapp_fails"],
"from": "+15555555555"
}Attachments to send. Must be HTTPS-secured URLs with file extensions. Max 10 attachments, with a cumulative size of 50MB.
Maximum array length:
10Example:
["https://example.com/image.png"]