Send WhatsApp messages

Send an approved template to 1–100 recipients. Authenticate with Authorization: Bearer YOUR_API_KEY. A 202 response means queued, not delivered. Reuse the same Idempotency-Key for retries.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Send an approved dynamic template owned by the authenticated account. The template determines the connected business sender.

required
length ≥ 1

One recipient or 1 to 100 recipients. Numbers are normalized using countryCode. All recipients receive the same templateData or text.

required
length ≥ 1

Country dialing code, such as 234, as a string or integer. A two-letter ISO country code such as NG is also supported.

uri
^https?://

Optional HTTP or HTTPS URL without embedded credentials for asynchronous message-status callbacks.

string

Optional customer reference echoed in delivery callbacks.

string
required
^w-.+$

Dynamic API template code: w- followed by the approved template ID.

templateData
object

Values keyed by the template variable bindings. Supply every required variable and no unknown keys. Values must be nonblank strings or numbers; zero is valid. Null, booleans, arrays and nested objects are rejected. Omit when the template has no variables.

uri
^https?://

Optional public HTTP/HTTPS media URL without embedded credentials for an image, video or document template header. The file type must match the approved header. Omit to use the template default, when available.

Headers
string
length ≤ 191

Client-generated key for safe retries. If omitted, Messaging generates one and returns it in the response header. Reusing a key with a different request returns 409.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json