Links

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

curl https://api.pollsapi.com/v1/get/poll/5f9f7b186477891e5bc646a1 \
-H "content-type: application/json" \
-H "api-key: $API_KEY"