Skip to content

Returns the details of a poll.​

GET
/api/polls/{pollId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

pollId*
Type
integer
Required
Minimum
1

Responses​

Success

application/json
JSON
{
  
"id": -1,
  
"name": "",
  
"description": "",
  
"startDate": "string",
  
"endDate": "string",
  
"regionId": -1,
  
"scope": -1,
  
"type": -1,
  
"authorId": -1,
  
"creationDate": "string",
  
"numValues": 0,
  
"votes": 0,
  
"eligibleVotesCount": 0,
  
"shuffleOptions": true
}

Playground​

Authorization
Variables
Key
Value

Samples​