Get all votes on a poll
Fetch all the votes on a poll as a paginated response
Having all the information is great, with Polls API you can get all the Votes on the polls easily.
We love our servers, like everyone else, which is why this API sends our paginated response. You can pass in offset & limit to fetch votes in bulk as pages.
There is a max limit of 100, so even if you pass
?limit=150
it will only send at max 100.
Get all votes
GET
https://api.pollsapi.com/v1/get/votes/{poll_id}?offset=0&limit=25
This endpoint allows you to fetch paginated response for all the Votes on a poll.
Path Parameters
Name | Type | Description |
---|---|---|
poll_id | string | ID of the Poll |
Query Parameters
Name | Type | Description |
---|---|---|
offset | number | Number of items to be skipped |
limit | number | Number of items to be fetched (Max: 100) |
Headers
Name | Type | Description |
---|---|---|
api-key | string | API Key for your account |
Example cURL Request
Last updated