{
"typeWebhook": "outgoingMessageReceived",
"instanceData": {
"idInstance": 1101000002,
"wid": "71234567890@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1705523078,
"idMessage": "30F6A068486C79D01CC683822E9258AE",
"senderData": {
"chatId": "71231234567@c.us",
"chatName": "Green API user",
"sender": "71234567890@c.us",
"senderName": "Green API",
"senderContactName": "Green API inContacts"
},
"messageData": {
"typeMessage": "pollMessage",
"pollMessageData": {
"name": "Color",
"options": [
{
"optionName": "Red"
},
{
"optionName": "Black"
}
],
"multipleAnswers": true
}
}
}
curl --location --request POST 'https://api.green-api.com/' \
--header 'Content-Type: application/json' \
--data-raw '{
"typeWebhook": "outgoingMessageReceived",
"instanceData": {
"idInstance": 1101000002,
"wid": "71234567890@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1705523078,
"idMessage": "30F6A068486C79D01CC683822E9258AE",
"senderData": {
"chatId": "71231234567@c.us",
"chatName": "Green API user",
"sender": "71234567890@c.us",
"senderName": "Green API",
"senderContactName": "Green API inContacts"
},
"messageData": {
"typeMessage": "pollMessage",
"pollMessageData": {
"name": "Color",
"options": [
{
"optionName": "Red"
},
{
"optionName": "Black"
}
],
"multipleAnswers": true
}
}
}'