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

KeyDatatypeRequiredDescription
categoryIdstringID of the community category for which the statistics must be fetched

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"awaitingApproval":{"comments":"35","topic":"25"},"moderated":{"topic":"25"},"spam":{"comments":"35","topic":"25"},"trash":{"comments":"35","topic":"25"}}