Transactional WhatsApp
Whatsapp
Send message
Send transactional WhatsApp messages using templates.
POST
Transactional WhatsApp
Send WhatsApp messages to one or more recipients using pre-approved templates. This endpoint supports personalization through
parameterized_variables and event data.
Request Body
The request body must include the sender’s phone number, template details, and recipient information.parameterized_variables: An object containing key-value pairs used to replace dynamic variables or merge tags within the WhatsApp message body or template.event: (Optional) Event-related data for tracking or triggering specific workflows.
Example Payloads
- Template Message
- Template media
- Media
- Text Message
Send a message using a pre-approved WhatsApp template with custom parameters and event data.
Authorizations
Use your API key with the 'Bearer ' prefix
Body
application/json
- Template Message
- Template media
- Media
- Text Message
Send a message using a pre-approved WhatsApp template
Available options:
template Add recipient to contacts
Array of strings to tag the message with.
Example:
["tag1", "tag2"]Response
WhatsApp message(s) sent successfully.