Description
This endpoint allows you to send a WhatsApp message using a predefined template. Templates must be approved by WhatsApp and can include variables that are replaced with actual values when the message is sent.
Your API key for authentication.
Your workspace ID for authentication.
Body
The phone number of the recipient in international format (e.g., “919876543210”).
The unique identifier associated with the sender’s phone number given by WhatsApp. Find the Phone ID on the Zixflow WhatsApp Settings page.
The name of the WhatsApp template to use.
Key-value pairs for template variables. Keys should match the variable names in the template, and values will replace the placeholders.
The language code for the template (e.g., “en”, “en_US”).
Optional URL to receive post-back notifications about the message status.
Optional data to include in post-back notifications.
Response
Indicates whether the call was successful. true if successful, false if not.
Success or error response message.
200-Success
400-Bad Request
{
"status" : true ,
"message" : "WhatsApp template sent successfully"
}