{
"typeWebhook": "outgoingAPIMessageReceived",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1749207554,
"idMessage": "BAE5D4CC3DDCD905",
"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": "copy",
"buttonId": "1",
"buttonText": "Copy me",
"copyCode": "Text copied"
},
{
"type": "call",
"buttonId": "2",
"buttonText": "Call me",
"phoneNumber": "79329843267"
},
{
"type": "url",
"buttonId": "3",
"buttonText": "GREEN-API",
"url": "https://greenapi.com/"
}
]
}
}
}
curl --location --request POST '/' \
--header 'Content-Type: application/json' \
--data-raw '{
"typeWebhook": "outgoingAPIMessageReceived",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1749207554,
"idMessage": "BAE5D4CC3DDCD905",
"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": "copy",
"buttonId": "1",
"buttonText": "Copy me",
"copyCode": "Text copied"
},
{
"type": "call",
"buttonId": "2",
"buttonText": "Call me",
"phoneNumber": "79329843267"
},
{
"type": "url",
"buttonId": "3",
"buttonText": "GREEN-API",
"url": "https://greenapi.com/"
}
]
}
}
}'
{}