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

{
    "data": {
        "children": [
            {
                "children": [],
                "autoArchive": false,
                "canBeChosen": true,
                "isHidden": false,
                "isMuted": false,
                "parentId": 35611,
                "id": 35795,
                "name": "ACME Corp"
            },
            {
                "children": [],
                "autoArchive": false,
                "canBeChosen": true,
                "isHidden": false,
                "isMuted": false,
                "parentId": 35611,
                "id": 35797,
                "name": "Dunder Mifflin Paper Co"
            },
            {
                "children": [],
                "autoArchive": false,
                "canBeChosen": true,
                "isHidden": false,
                "isMuted": false,
                "parentId": 35611,
                "id": 35796,
                "name": "Pawtucket Brewery"
            }
        ],
        "autoArchive": false,
        "canBeChosen": true,
        "isHidden": false,
        "isMuted": false,
        "parentId": null,
        "id": 35611,
        "name": "Customers"
    },
    "errorCode": -1,
    "errorText": null
}

Data field has type of Category object.

Last updated