Get moderation stats
GET {{baseUrl}}/api/v1/communityModeration/counts
This API fetches statistics related to topic/comment moderation in the user community.
OAuth Scope
Desk.community.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
categoryId | string | ID of the community category for which the statistics must be fetched |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"awaitingApproval":{"comments":"35","topic":"25"},"moderated":{"topic":"25"},"spam":{"comments":"35","topic":"25"},"trash":{"comments":"35","topic":"25"}}