Get category or forum by permalink

GET {{baseUrl}}/api/v1/communityCategoryByPermalink?permalink=<String>

This API fetches the details of a community category or forum, based on the permalink in the API request.

OAuth Scope

  • Desk.community.READ

Request Params

KeyDatatypeRequiredDescription
permalinkstringPermalink of the category or forum to fetch
includestringAdditional information related to the category or forum. Values allowed are: postCount, followersCount, and commentCount.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isFollowing&quot;:&quot;true&quot;,&quot;visibility&quot;:&quot;ALL_USERS&quot;,&quot;departmentId&quot;:&quot;20628000000020011&quot;,&quot;description&quot;:&quot;description&quot;,&quot;canAutoConvertTicket&quot;:true,&quot;childs&quot;:[{&quot;isFollowing&quot;:false,&quot;visibility&quot;:&quot;ALL_USERS&quot;,&quot;departmentId&quot;:null,&quot;description&quot;:&quot;forum 1&quot;,&quot;canAutoConvertTicket&quot;:null,&quot;commentCount&quot;:&quot;491&quot;,&quot;associatedDepartmentIds&quot;:[&quot;20628000000020011&quot;],&quot;photoUrl&quot;:null,&quot;view&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;post&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;permissions&quot;:[&quot;POST&quot;,&quot;RESPOND&quot;],&quot;moderation&quot;:null,&quot;name&quot;:&quot;forum&quot;,&quot;deparmentIdForTicketCreation&quot;:&quot;20628000000020011&quot;,&quot;postCount&quot;:&quot;246&quot;,&quot;parentCategoryId&quot;:&quot;4000000003037&quot;,&quot;id&quot;:&quot;4000000012009&quot;,&quot;position&quot;:&quot;1&quot;,&quot;followersCount&quot;:&quot;38&quot;,&quot;permalink&quot;:&quot;forum-43&quot;,&quot;respond&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;child&quot;:[],&quot;moderators&quot;:[],&quot;status&quot;:&quot;ENABLED&quot;}],&quot;commentCount&quot;:&quot;491&quot;,&quot;associatedDepartmentIds&quot;:[&quot;20628000000020011&quot;],&quot;photoUrl&quot;:null,&quot;view&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;post&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;permissions&quot;:[&quot;POST&quot;,&quot;RESPOND&quot;],&quot;moderation&quot;:&quot;NONE&quot;,&quot;name&quot;:&quot;new dep&quot;,&quot;deparmentIdForTicketCreation&quot;:&quot;20628000000020011&quot;,&quot;postCount&quot;:&quot;246&quot;,&quot;parentCategoryId&quot;:&quot;null&quot;,&quot;id&quot;:&quot;20628000000020011&quot;,&quot;position&quot;:&quot;1&quot;,&quot;followersCount&quot;:&quot;38&quot;,&quot;permalink&quot;:&quot;new-dep&quot;,&quot;respond&quot;:{&quot;groupIds&quot;:[],&quot;permission&quot;:&quot;ALL_USERS&quot;},&quot;status&quot;:&quot;ENABLED&quot;,&quot;moderators&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;7000000015971&quot;,&quot;type&quot;:&quot;AGENT&quot;},{&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/agents/7000000015972/photo?orgId=123456&quot;,&quot;name&quot;:&quot;user 3&quot;,&quot;id&quot;:&quot;7000000015972&quot;,&quot;type&quot;:&quot;AGENT&quot;}]}