Send a template message
WhatsApp Messages
Send WhatsApp Template (Body-based v2)
Send a WhatsApp template using a JSON payload. Include recipient, template, and variables in the body. Requires x-api-key.
POST
Send a template message
Headers
API key needed to authorize the request
Body
application/json
The payload to send with the template message
Phone number to send the template to
Name of the template to send
Email of the contact
Pattern:
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Phone number to send the template from
Variables for carousel cards
Response
Message sent successfully.
Send WhatsApp Template by Phone and Template IDSend WhatsApp Smart Template (Unstructured Data, Single Recipient)
