Polls API
Search…
Get poll by Id
Endpoint to fetch a Poll by Id
You have a poll created, but how do you fetch it?
Well, this is the reason this endpoint exists
😉
. Just pass in the poll id that you want to retrieve and let the magic happen.
get
https://api.pollsapi.com/v1
/get/poll/{poll_id}
Get Poll by Id

Example cURL Request

1
curl https://api.pollsapi.com/v1/get/poll/5f9f7b186477891e5bc646a1 \
2
-H "content-type: application/json" \
3
-H "api-key: $API_KEY"
Copied!
Last modified 11mo ago