v1
latestOpenAPI 3.0.32026-08-0422127127.8 KBWhatsApp
Send WhatsApp message
Sends a single templated message to a single recipient. Templates need to be registered and pre-approved by WhatsApp.
post/v2/whatsapp/messages
Request body
Example request
{
"sender": "14155238886",
"recipient": "61411122211",
"content_type": "template",
"content": {
"template": {
"name": "welcome_new_customer",
"parameters": [
"Joe"
]
}
},
"message_ref": "optional-ref-123"
}Response
OK
Example response
{
"data": {
"id": "6fdae71c-dad7-4c36-9734-a69693ecf3b4",
"message_ref": "optional-ref-123",
"sender": "14155238886",
"recipient": "61411122211",
"content_type": "template",
"content": {
"template": {
"name": "welcome_new_customer",
"parameters": [
"Joe"
]
}
},
"created_at": "2021-01-01T00:00:00Z"
}
}