Create a Poll
201 Created:
id (the poll ID) and the options[].id values — you need them to submit votes.
Vote on a Poll
id from the create response as the pollId path parameter, and one of the options[].id values as optionId.
201 Created:
{pollId, optionId, voter} combination is idempotent — re-submitting the same vote is a no-op.
Delete a Vote
id from the vote creation response as voteId.
Response — 204 No Content (empty body on success)
404 is returned if the vote is not found.
Request Fields
POST /v2/polls
POST /v2/polls//votes
Constraints
Webhook Events
Zenzap fires webhook events when votes are cast or retracted on polls in topics your bot is a member of:
See Webhook Events for full payload details.