POST WhatsApp Template Message
API to send the WhatsApp template message
Parameter Description
userName
: refers to the name of the user we intend to send the messagewa_id
: refers to the WhatsApp number of the user we intend to send the message NOTE: The number must contain the country code without the plus signtemplateId
: refers to the ID of the template NOTE: Template must be approved before using this APIassingTo
: refers to the email of custom user or agent.params
: is used for the variables used in the template, it is an empty array in the case of a plain text template with no variables. In case of variables in the template, please refer to the JSON belowtags
: refers to label you can assign to conversations or chats to help organize and manage effectively.
API Endpoint
Request Headers
apiKey
API KEY
Query Params
apiKey
API KEY
Body
Examples
Request
Response
Headers
X-Powered-By
Express
Vary
Origin
Access-Control-Allow-Credentials
true
_user
61c1c2058e0****e9bb420f8
_bot
62e77a807f1****ecce980f0
whatsAppId
****bsIWcYgazd5ZDAK
Content-Type
application/json; charset=utf-8
Content-Length
507
ETag
W/"1fb-urlVjgGZAUBRNyxQDAOnZ3ONF1I"
Date
Wed, 03 Aug 2022 11:16:13 GMT
Connection
keep-alive
Keep-Alive
timeout=5
Last updated