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": "text",
"text": "your-header-content"
},
"body": {
"text": "How would you rate your experience?"
},
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "rate_good",
"title": "Good"
}
},
{
"type": "reply",
"reply": {
"id": "rate_avg",
"title": "Average"
}
},
{
"type": "reply",
"reply": {
"id": "rate_bad",
"title": "Bad"
}
}
]
}
}
}