Skip to main content
POST
Send a WhatsApp template
If the contact restricted WhatsApp or the number is on the outbound blocklist, the template is not sent and the request is refused with HTTP 422. See refused sends.

Authorizations

Authorization
string
header
required

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

Body

application/json
template_id
string
required
phone_number_id
string
required
variables
string[]
required
contact
object
required
session_id
string

Response

Default Response

whatsapp_message_id
string
required
opencx_message_id
string
required
opencx_session_id
string
required