List topics pending moderation

GET {{baseUrl}}/api/v1/communityModeration/topics?status=<String>

This API lists a particular number of forum topics that are pending moderation, 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
statusstringModeration status of the topics. Values allowed are: AWAITINGAPPROVAL, SPAM, and TRASHED.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;summary&quot;:&quot;topic 2&#39;s description&quot;,&quot;creator&quot;:{&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/agents/7000000015971/photo?orgId=123456&quot;,&quot;name&quot;:&quot;user 2&quot;,&quot;id&quot;:&quot;7000000015972&quot;,&quot;label&quot;:null,&quot;type&quot;:&quot;AGENT&quot;},&quot;trashedBy&quot;:null,&quot;subject&quot;:&quot;Topic 2&quot;,&quot;createdTime&quot;:&quot;2018-10-16T09:42:12.716Z&quot;,&quot;id&quot;:&quot;4000000019017&quot;,&quot;type&quot;:&quot;QUESTION&quot;,&quot;permalink&quot;:&quot;topic-2&quot;,&quot;categoryId&quot;:&quot;4000000000017&quot;,&quot;status&quot;:&quot;AWAITINGAPPROVAL&quot;},{&quot;summary&quot;:&quot;Topic 1 dscription&quot;,&quot;creator&quot;:{&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/portalUser/7000000015971/photo?orgId=123456&quot;,&quot;name&quot;:&quot;user2&quot;,&quot;id&quot;:&quot;7000000015972&quot;,&quot;label&quot;:{&quot;preferences&quot;:{&quot;shape&quot;:&quot;RECTANGLE&quot;,&quot;bgColor&quot;:&quot;#23F123&quot;,&quot;textColor&quot;:&quot;#2CA123&quot;},&quot;name&quot;:&quot;Admin&quot;,&quot;id&quot;:&quot;6000000158001&quot;,&quot;logoUrl&quot;:&quot;https://desk.zoho.com/portal/api/publicImages/6000000158231?orgId=14132&quot;},&quot;type&quot;:&quot;END_USER&quot;},&quot;trashedBy&quot;:null,&quot;subject&quot;:&quot;Topic 1&quot;,&quot;createdTime&quot;:&quot;2018-10-16T09:41:33.202Z&quot;,&quot;id&quot;:&quot;4000000019003&quot;,&quot;type&quot;:&quot;QUESTION&quot;,&quot;permalink&quot;:&quot;topic-1&quot;,&quot;categoryId&quot;:&quot;4000000000017&quot;,&quot;status&quot;:&quot;AWAITINGAPPROVAL&quot;}]}