Polls API
Search…
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
https://api.pollsapi.com/v1
/get/polls?offset=0&limit=25
Get all polls

Example cURL Request

1
curl https://api.pollsapi.com/v1/get/polls?offset=0&limit=10 \
2
-H "content-type: application/json" \
3
-H "api-key: $API_KEY"
Copied!
Last modified 11mo ago