Appearance
Send Template Message
POST
/whatsapp/message/template
Send a pre-approved template message to a specified contact.
Authorizations
bearerAuth
TypeHTTP (bearer)
Request Body
JSON
{
"to": "string",
"name": "string",
"content": {
"template_name": "string",
"language": {
"code": "string"
},
"components": [
{
"type": "string",
"parameters": [
{
"type": "string",
"text": "string",
"image": {
"link": "string"
},
"document": {
"link": "string"
},
"video": {
"link": "string"
}
}
]
}
]
}
}
Responses
Template message sent successfully
application/json
JSON
{
"message_id": "string",
"body": "string",
"type": "string",
"timestamp": "string",
"metadata": {
}
}
