Add forum

POST {{baseUrl}}/api/v1/communityCategory

This API adds a forum in a community category.

OAuth Scope

  • Desk.community.UPDATE

Attributes

Attribute NameData TypeDescription
name<String>
Name of the forum
parentCategoryId<long>
ID of the community category under which the forum must be added
description<String>
A brief description of the community category or forum
visibility<String>
Visibility setting of the community category or forum. Values allowed are: ALL, LOGGED_IN_USERS, GROUPS and MODERATORS.
post<JSONObject>
Post permission setting of the community category or forum.
respond<JSONObject>
Respond permission setting of the community category or forum.
groupIds<JSONArray>
Group Ids to associate
moderation<String>
Moderation setting for the community category or forum. Values allowed are: NONE (no moderation), ALL_POSTS (all posts of category will be moderated) and FIRST_POST (only the first forum post of users will be moderated).
canAutoConvertTicket<boolean>
Key that defines whether topics posted in the forum must be automatically converted into tickets or not
associatedDepartmentIds<JSONArray>
IDs of the deparments to be associated with category
deparmentIdForTicketCreation<long>
ID of the deparment in which the ticket must be created
logoId<long>
ID of the uploaded community category logo

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isFollowing&quot;:false,&quot;visibility&quot;:&quot;GROUPS&quot;,&quot;departmentId&quot;:&quot;20628000000020011&quot;,&quot;groups&quot;:[&quot;700000001671&quot;],&quot;description&quot;:&quot;forum 1&quot;,&quot;canAutoConvertTicket&quot;:&quot;true&quot;,&quot;associatedDepartmentIds&quot;:[&quot;20628000000020011&quot;],&quot;photoUrl&quot;:&quot;https://desk.zoho.com/api/v1/communityCategory/4000000012009/logo/4000000012019?orgId=1234567&quot;,&quot;post&quot;:{&quot;groupIds&quot;:[&quot;20628000000020011&quot;],&quot;permission&quot;:&quot;GROUPS&quot;},&quot;permissions&quot;:[&quot;POST&quot;,&quot;RESPOND&quot;],&quot;moderation&quot;:&quot;FIRST_POST&quot;,&quot;name&quot;:&quot;forum&quot;,&quot;deparmentIdForTicketCreation&quot;:&quot;20628000000020011&quot;,&quot;parentCategoryId&quot;:&quot;4000000003037&quot;,&quot;id&quot;:&quot;4000000012009&quot;,&quot;position&quot;:&quot;1&quot;,&quot;permalink&quot;:&quot;forum-1&quot;,&quot;respond&quot;:{&quot;groupIds&quot;:[&quot;20628000000020011&quot;],&quot;permission&quot;:&quot;GROUPS&quot;},&quot;child&quot;:[],&quot;moderators&quot;:[],&quot;status&quot;:&quot;ENABLED&quot;}