Request Body Parameters
Specifies the recipient’s phone number in international format (e.g.,
“1xxxxxxxxxx”).
Copy
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "{{Recipient number}}",
"type": "template",
"template": {
"language": {
"code": "en"
},
"name": "{{Template Name}}",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{text string}}"
},
{
"type": "text",
"text": "{{text string}}"
},
{
"type": "text",
"text": "{{text string}}"
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": 0,
"parameters": [
{
"type": "payload",
"payload": "aGlzIHRoaXMgaXMgY29v"
}
]
},
{
"type": "button",
"sub_type": "quick_reply",
"index": 1,
"parameters": [
{
"type": "payload",
"payload": "9rwnB8RbYmPF5t2Mn09x4h"
}
]
}
]
}
}