Skip to content

Lists all polls in a region or working group.

GET
/api/groups/{groupId}/polls

Authorizations

Parameters

Path Parameters

groupId*
Typestring
Required

Responses

Success

Samples

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