GET Polls
List Responses by User
Rooms can be public or private.
This method requires authentication.
Rooms can be public or private. This method lists all public rooms that everyone can see.
- cursor : (optional) The first time you call list rooms, omit this property to start from the beginning. Call the method again passing in the value returned in the cursor field of the response to get the next page of results. If there are more results available, more will be true.
- limit : (optional) Specify the number of items to return. Default is 200.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id pollid path string TalkLabs ID required
The TalkLabs assigned poll ID.
Example:poll-id userid path string customer-defined required
The customer defined user ID from your application or identity system.
Example:u-8842 Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 500 Internal Server Error ApiResult Example response · 200
{
"message": "Success",
"errors": {},
"data": [
{
"kind": "poll.choice",
"id": "662da22ee45ad80a7f2bd951",
"appid": "662bb49bf10e9a26a7e8ed92",
"pollid": "662da20fe45ad80a7f2bd950",
"position": 0,
"title": "Red",
"imageurl": "",
"videoid": "",
"embedcode": "",
"customtype": "",
"customid": "",
"custompayload": "",
"customtags": null,
"customfield1": "",
"customfield2": ""
}
]
}