Lists all polls the user is invited to.
GET
/api/user/current/pollsAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Responses
Success
Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/user/current/polls'
Samples
cURL
curl -X GET http://localhost/api/user/current/polls
JavaScript
fetch("http://localhost/api/user/current/polls")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/polls");
Python
import requests
response = requests.get("http://localhost/api/user/current/polls")
print(response.json())