Skip to content

Vote in a poll.​

POST
/api/polls/{pollId}/vote

The request body needs to be a list mapping option indices to the vote values. Depending on the voting type, not all options might need to be included.

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

pollId*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"options": {
  
}
}

Responses​

Success

Playground​

Authorization
Variables
Key
Value
Body

Samples​