Get Category By Id

All API requests should contain authorization headers.

Request

GET /categories/{categoryId}

Query Parameters

Name

Type

Required

Comments

categoryId

integer

yes

Id of category you want to receive.

Response

{
"children": [
{
"children": [],
"autoArchive": false,
"canBeChosen": true,
"isHidden": false,
"isMuted": false,
"parentId": 15597,
"id": 15607,
"name": "Company1"
},
{
"children": [],
"autoArchive": false,
"canBeChosen": true,
"isHidden": false,
"isMuted": false,
"parentId": 15597,
"id": 15608,
"name": "Company2"
},
{
"children": [],
"autoArchive": false,
"canBeChosen": true,
"isHidden": false,
"isMuted": false,
"parentId": 15597,
"id": 15609,
"name": "Others"
}
],
"autoArchive": false,
"canBeChosen": true,
"isHidden": false,
"isMuted": false,
"parentId": null,
"id": 15597,
"name": "Customers"
}

‚Äč

Data field has type of Category object.