List moderated topics

GET {{baseUrl}}/api/v1/communityModeratedTopics

This API lists a particular number of moderated topics, based on the limit defined.

OAuth Scope

  • Desk.community.READ

Request Params

KeyDatatypeRequiredDescription
categoryIdstringID of the community category from which the topics must be fetched
fromstringIndex number, starting from which the topics must be listed
limitstringNumber of topics to list

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"summary":"topic 2's description","moderatedBy":{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015972/photo?orgId=123456","name":"user 2","id":"7000000015972","type":"AGENT","status":"ACTIVE"},"creator":{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456","name":"user 2","id":"7000000015972","type":"AGENT"},"subject":"Topic 2","moderatedOn":"2018-10-16T09:42:12.716Z","createdTime":"2018-10-16T09:42:12.716Z","id":"4000000019017","type":"QUESTION","permalink":"topic-2","categoryId":"4000000000017","status":"PUBLISHED"},{"summary":"Topic 1 dscription","moderatedBy":{"photoUrl":"https://desk.zoho.com/api/v1/agents/7000000015972/photo?orgId=123456","name":"user 2","id":"7000000015972","type":"AGENT","status":"ACTIVE"},"creator":{"photoUrl":"https://desk.zoho.com/api/v1/portalUser/7000000015971/photo?orgId=123456","name":"user2","id":"7000000015972","type":"END_USER"},"subject":"Topic 1","moderatedOn":"2018-10-16T09:42:12.716Z","createdTime":"2018-10-16T09:41:33.202Z","id":"4000000019003","type":"QUESTION","permalink":"topic-1","categoryId":"4000000000017","status":"PUBLISHED"}]}