Skip to main content
POST
Send a whatsapp template message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
templateName
string
required

Name of the WhatsApp template registered with Meta

channelId
string
required

The WhatsApp channel ID from your project

to
string
required

Recipient phone number (E.164 format, e.g. "+14155552671")

customValues
any

Key-value map of template variable overrides. Keys must match the templateVariable names from your variable mapping (e.g. { "order_number": "ORD-123", "customer_name": "John" }). The reserved keys header_image, header_video, header_document and header_media override the template's header media URL.

languageCode
string

Language code (e.g. "en_US"). Only used as a fallback: the message is sent in the language Meta reports for the template. If omitted, defaults to the contact's language, then "en_US".

Response

200 - application/json

Ok