Get all polls
Responds with a paginated response of all the polls
You might have a case where you would need to fetch all the Polls and maybe show it as a Feed or maybe for your own Dashboard. You can easily do this with our get all polls API. Check it out below on how to use it.
We love our servers, like everyone else, which is why this API sends our paginated response. You can pass in offset & limit to fetch polls 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 polls
GET
https://api.pollsapi.com/v1/get/polls?offset=0&limit=25
This endpoint allows you to get all polls as a paginated response.
Query Parameters
offset
number
Number of items to be skipped
limit
number
Number of items to be fetched (Max: 100)
Headers
api-key
string
API Key for your account
Example cURL Request
Last updated