List root categories
GET {{baseUrl}}/api/v1/kbRootCategories
This API lists a particular number of root categories, based on the limit defined.
OAuth Scope
Desk.articles.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locale | string | Language of the category | |
sortBy | string | Key that sorts the categories, based on a specific attribute: name or order | |
from | string | Index number, starting from which the categories must be fetched | |
limit | string | Number of categories to list | |
searchValue | string | Keyword for searching for a particular category | |
status | string | Activation status of the category. Values allowed are: SHOW_IN_HELPCENTER, HIDE_IN_HELPCENTER, and DISABLED. | |
isTrashed | string | Key that denotes whether the category is deleted or not | |
isReviewEnabled | string | Key that specifies whether the category must be reviewed or not | |
visibility | string | Visibility setting of the category. Values allowed are: AGENTS, GROUP_USERS, ALL_USERS, and NONE. | |
departmentId | string | ID of the department associated with the category | |
helpcenterId | string | ID of the help center to which the category belongs | |
include | string | Additional information related to the category. Values allowed are: publicArticlesCount, allArticlesCount, and sectionsCount. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"modifiedTime":"2020-01-05T13:18:07.000Z","visibility":"ALL_USERS","articleViewType":"LISTVIEW","allArticlesCount":"11","groups":[],"sectionsCount":"7","logoUrl":"https://desk.zoho.com/support/App/build/fonts/certificate.svg","feedbackTicketConversionPreference":{"departmentId":"5000000063895","assignee":{"photoURL":"https://desk.zoho.com/api/v1/agents/5000000000059/photo?orgId=15114553","name":"Charlie Marlie","id":"5000000000059","status":"ACTIVE","zuid":"15224545"},"status":"ENABLED"},"associatedDepartmentIds":["5000000063895"],"publicArticlesCount":"3","encryptedWorkspaceId":"04bd200bc14c4cac0c0026a0342c1f21263012407fa56109a37788e786a96ec0383c1eeb08849f9be78a6f7b8b8f31033dde60d41ad95443c6570636db1a9b20","helpcenterId":"5000000015871","isReviewEnabled":false,"isTrashed":false,"createdBy":{"photoURL":null,"name":"Zylker","id":"5000000015867","status":"ACTIVE","zuid":"343224"},"translations":[{"modifiedTime":"2019-10-10T06:18:39.000Z","createdBy":{"photoURL":null,"name":"Zylker","id":"5000000015867","status":"ACTIVE","zuid":"343224"},"name":"Zoho Desk","description":"A helpdesk software","createdTime":"2019-06-24T07:03:39.000Z","modifiedBy":{"photoURL":null,"name":"Zylker","id":"5000000015867","status":"ACTIVE","zuid":"343224"},"id":"5000000265103","permalink":"zoho-desk","locale":"en","categoryId":"5000000066427"}],"name":"Zoho Desk","createdTime":"2019-06-24T07:03:39.000Z","modifiedBy":{"photoURL":null,"name":"Zylker","id":"5000000015867","status":"ACTIVE","zuid":"343224"},"id":"5000000066427","status":"SHOW_IN_HELPCENTER","order":"1","workspaceId":"ponaz00368c36c9274809bf96849b392f8d67"}]}