Skip to main content
POST

Body

string
required
Specifies the recipient’s phone number in international format (e.g., “1xxxxxxxxxx”).
string
required
This is the unique identifier associated with the sender’s phone number given by WhatsApp. Find the Phone ID on the Zixflow WhatsApp Settings page next to the number. Whatsapp Settings
string
required
Refers to the name of the template to be used for the WhatsApp message. In this case, it is set to “hello_world.” You can obtain it from the template list screen.
string
required
Specifies the language of the message, with “en_US” representing American English. You can get it from the template list screen.
object
required
Custom variables used for the template. Please provide a JSON object with the required data.
string
default:"API"
If the “linkWithRecord” is set to true, the source from which the WhatsApp message is sent should be mentioned; otherwise, it defaults to API.
Specify whether to associate the current message with a record and display it in the inbox. Set it to “true” for linking with a record; otherwise, it defaults to “false.”
string
(Optional) Specify the URL where the user’s report and deliveries should be delivered.
boolean
Indicates whether to wait for the submission status. Set it to “true” if you want to wait for the submission status; otherwise, it defaults to “false.”

Response

boolean
Indicates whether the call was successful. true if successful, false if not.
string
success or error response message

Variables

To know all required variable and their keys for selected template, use above Get Template Variable API. It will return response as
For above variable response the varibales value will be