List topic voters

GET {{baseUrl}}/api/v1/communityTopics/:id/voters

This API lists a particular number of users who voted in a forum topic, based on the limit defined.

OAuth Scope

  • Desk.community.READ

Request Params

KeyDatatypeRequiredDescription
fromstringIndex number, starting from which the users must be listed
limitstringNumber of users to list

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456","name":"user 1","id":"7000000015971","label":{"preferences":{"shape":"RECTANGLE","bgColor":"#23F123","textColor":"#2CA123"},"name":"Admin","id":"6000000158001","logoUrl":"https://desk.zoho.com/portal/api/publicImages/6000000158231?orgId=14132"},"type":"AGENT"},{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015972/photo?orgId=123456","name":"user 3","id":"7000000015972","label":{"preferences":{"shape":"RECTANGLE","bgColor":"#23F123","textColor":"#2CA123"},"name":"Admin","id":"6000000158001","logoUrl":"https://desk.zoho.com/portal/api/publicImages/6000000158231?orgId=14132"},"type":"AGENT"}]}