curl -P - /v1/whatsapp\
-H 'apikey':'string'
-H "Content-Type: application/json" \
-d '{
"recipient_type": "individual",
"from": "+91XXXXXXXXXX",
"to": "+91XXXXXXXXXX",
"type": "interactive",
"interactive": {
"type": "button",
"header": {
"type": "image",
"image": {
"link": "http(s)://the-url"
}
},
"body": {
"text": "How would you rate your experience?"
},
"footer": {
"text": "Thanks for your feedback"
},
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "unique-postback-id",
"title": "First Button’s Title"
}
},
{
"type": "reply",
"reply": {
"id": "unique-postback-id",
"title": "Second Button’s Title"
}
}
]
}
}
}