Query Params
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
Refers to the name of the template to be used for the message, e.g.,
“welcome_message.”
Specifies the language for the message, e.g., “en” for English.
Response
Indicates whether the call was successful. true if successful, false if not.
success or error response message
The contents of uploaded file It defines variable label from the template
This defines the essential key names that must be used when specifying values for this variable in the WhatsApp API.
It defines type of value type sample value IMAGE_URL <image-url>
VIDEO_URL <video-url>
DOCUMENT_URL <document-url>
TEXT <text>
OTP <otp>
curl --location --request GET 'https://api.zixflow.com/api/v1/campaign/whatsapp/variable-keys?templateName=welcome_message&language=en' \
--header 'Authorization: Bearer {{zixflow_api_key}}'
200-Success
400-Bad Request
401-Unauthorised
{
"status" : true ,
"message" : "Success" ,
"data" : [
{
"label" : "Header Image" ,
"keyName" : "image" ,
"type" : "IMAGE_URL"
},
{
"label" : "Body 1" ,
"keyName" : "body_1" ,
"type" : "TEXT"
}
]
}