{
"event": "poll.vote",
"data": {
"id": "<string>",
"event": "poll.vote",
"metadata": [
{}
],
"me": {
"id": "<string>",
"pushName": "<string>"
},
"payload": {
"vote": {
"id": "<string>",
"to": "<string>",
"from": "<string>",
"fromMe": true,
"selectedOptions": [
"<string>"
],
"timestamp": 123
},
"poll": {
"id": "<string>",
"to": "<string>",
"from": "<string>",
"fromMe": true
}
},
"instanceId": "<string>",
"userId": "<string>"
}
}Poll Vote
Triggered when new votes are received for a poll.
WEBHOOK
poll-vote
{
"event": "poll.vote",
"data": {
"id": "<string>",
"event": "poll.vote",
"metadata": [
{}
],
"me": {
"id": "<string>",
"pushName": "<string>"
},
"payload": {
"vote": {
"id": "<string>",
"to": "<string>",
"from": "<string>",
"fromMe": true,
"selectedOptions": [
"<string>"
],
"timestamp": 123
},
"poll": {
"id": "<string>",
"to": "<string>",
"from": "<string>",
"fromMe": true
}
},
"instanceId": "<string>",
"userId": "<string>"
}
}poll.vote
New votes received for a poll.Headers
User UUID associated with the connected WhatsApp instance.
Instance UUID of the connected WhatsApp instance.
Response
200
The API successfully processed the batch of messages and returned a status of 200, confirming successful receipt and synchronization.