curl --request POST \ --url https://api.telepie.com/v1/whatsapp \ --header 'apikey: <api-key>'
WhatsApp
Template with Header Text & Having Variables
This endpoint is for text-header templates with customizable parameters, simple integration, versatile customization.
POST
https://api.telepie.com/v1/
/
whatsapp
Template with Header Text & Having Variables
Copy
curl --request POST \ --url https://api.telepie.com/v1/whatsapp \ --header 'apikey: <api-key>'
This endpoint is designed for templates without complex headers but supports parameters for customization. Simply plug in and configure your parameters for easy and efficient use.
The number registered with WhatsApp business from which the message is to be
sent. Ensure that the country code is prefixed to the number. For example, if
the number is in the India, the format would be: +91XXXXXXXXXX
If you have a registered template with placeholders and you need to submit
parameter values in the same order as in the template, you can represent this
as an array of values. Ensure that the values are not null, and if the
template was registered without placeholders, you can submit an empty array.
To comply with the requirements, ensure that the URL provided for the image
starts with either “https://” or “http://”, and that the image is in one of
the supported formats (JPG, JPEG, or PNG) with a maximum size of 5MB.