Skip to content

Returns the details of a poll.

GET
/api/polls/{pollId}

Authorizations

Parameters

Path Parameters

pollId*
Typestring
Required

Responses

Success

Samples

cURL
curl -X GET http://localhost/api/polls/{pollId}
JavaScript
fetch("http://localhost/api/polls/{pollId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/polls/{pollId}");
Python
import requests
response = requests.get("http://localhost/api/polls/{pollId}")
print(response.json())