Skip to main content
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

x-userId
string
required

User UUID associated with the connected WhatsApp instance.

x-instanceId
string
required

Instance UUID of the connected WhatsApp instance.

Body

application/json
event
enum<string>
Available options:
poll.vote
data
object

Response

200

The API successfully processed the batch of messages and returned a status of 200, confirming successful receipt and synchronization.

I