{
"typeWebhook": "incomingMessageReceived",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1749207532,
"idMessage": "BAE5BBB8415CF1AA",
"senderData": {
"chatId": "71234567890@c.us",
"chatName": "Green API",
"sender": "71234567890@c.us",
"senderName": "Green API",
"senderContactName": "Green API inContacts"
},
"messageData": {
"typeMessage": "interactiveButtons",
"interactiveButtons": {
"titleText": "Header text",
"contentText": "I use Green-API to send this message to you!",
"footerText": "Footer text",
"buttons": [
{
"type": "reply",
"buttonId": "1",
"buttonText": "First Button"
},
{
"type": "reply",
"buttonId": "2",
"buttonText": "Second Button"
},
{
"type": "reply",
"buttonId": "3",
"buttonText": "Third Button"
}
]
}
}
}
curl --location --request POST '/' \
--header 'Content-Type: application/json' \
--data-raw '{
"typeWebhook": "incomingMessageReceived",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1749207532,
"idMessage": "BAE5BBB8415CF1AA",
"senderData": {
"chatId": "71234567890@c.us",
"chatName": "Green API",
"sender": "71234567890@c.us",
"senderName": "Green API",
"senderContactName": "Green API inContacts"
},
"messageData": {
"typeMessage": "interactiveButtons",
"interactiveButtons": {
"titleText": "Header text",
"contentText": "I use Green-API to send this message to you!",
"footerText": "Footer text",
"buttons": [
{
"type": "reply",
"buttonId": "1",
"buttonText": "First Button"
},
{
"type": "reply",
"buttonId": "2",
"buttonText": "Second Button"
},
{
"type": "reply",
"buttonId": "3",
"buttonText": "Third Button"
}
]
}
}
}'
{}