# poll.voted

HTML: https://www.app2email.com/docs/api/webhooks/poll.voted · Index: https://www.app2email.com/docs/api/llms.txt

Someone voted (or changed their vote) on a meeting poll.

Group: Book-and-Pay. Header `X-App2email-Event: poll.voted`. Inside the envelope `{id, type, created, number, test?, data}` ([envelope, headers, signature](https://www.app2email.com/docs/api/webhooks.md)). Every webhook of the number gets every number event: filter by `type`.

## data

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data.poll_id` | integer | yes |  |
| `data.title` | string |  |  |
| `data.name` | string | yes |  |
| `data.contact` | string |  |  |
| `data.email` | string |  |  |
| `data.choices` | string[] | yes | The option ids they can attend. |
| `data.comment` | string |  |  |
| `data.timestamp` | string |  |  |

## Samples

### vote

```json
{
  "id": "evt_Pay3k9m2Lw8Rt5Yp1Zs05",
  "type": "poll.voted",
  "created": "2026-11-11T01:00:00.000Z",
  "number": "4976659348270",
  "data": {
    "poll_id": 12,
    "title": "Team planning",
    "name": "Sam",
    "contact": "61412345678",
    "email": null,
    "choices": [
      "a",
      "c"
    ],
    "comment": "Mornings suit me best.",
    "timestamp": "2026-11-11T01:00:00.000Z"
  }
}
```

Send it to your URL: https://www.app2email.com/docs/api/webhooks/tester?type=poll.voted
