Send a WhatsApp message (Cloud API gateway)

Gateway over the WhatsApp Cloud API POST /{phone-number-id}/messages endpoint.

Send the exact same JSON body you would send to Meta — text, media, location, contacts,
interactive, reaction and mark-as-read payloads are all supported — but authenticate with
your WAX bearer token instead of a Meta access token. WAX forwards Meta's response
(success or error) verbatim, so existing Cloud API clients keep working unchanged.

Template messages are not supported: use WAX campaigns or flows instead.

POST /v1/whatsapp/messages sends through your default WhatsApp phone number.
POST /v1/whatsapp/{phone_number_id}/messages (Meta phone number id) targets a specific number.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Allowed:
string
string
required

The recipient phone number in E.164 format.

string
enum
required

The Cloud API message type. Every type except "template" is supported.

text
object

The message object matching the "type" field, as documented by Meta.

context
object

Optional reply context, e.g. { "message_id": "wamid..." }.

Headers
string
required

Bearer token

Responses
200

message forwarded to the WhatsApp Cloud API

400

invalid request or WhatsApp Cloud API error (forwarded verbatim)

403

recipient opted out of WhatsApp messages

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json