Blog
Github
  1. Category
  • Getting Started
    • Introduction
    • Quickstart
    • Authentication
    • Status codes
  • Webhook
    • Webhook Setup
    • Webhook Events and Schema
  • API Reference
    • Contact
      • Listing
      • Create
      • Filter By SocialPlatformId
      • Form Fields
      • Detail
      • Update
      • Delete
      • Fetch Contact Groups
      • Update tags
    • Tag
      • Listing
    • Channel
      • Listing
      • Create
    • Ticket
      • Listing
      • Create
      • Filter by Contact ID
      • Form Fields
      • Update
      • Update status
    • Category
      • Listing
        GET
    • CxLog
      • Listing
    • Message
      • Send message
Blog
Github
  1. Category

Listing

GET
/api/v1/categories

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apigw.klinkcx.com/api/v1/categories' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "data": [
        {
            "id": "b5efc76a-4fc2-48df-b6c9-0083b3e341c4",
            "createdAt": "2026-01-08T04:42:59.028Z",
            "updatedAt": "2026-01-08T04:42:59.028Z",
            "deletedAt": null,
            "value": "",
            "parentId": null,
            "level": 1,
            "sortOrder": 0,
            "childCategoryList": []
        },
        {
            "id": "2ee98c63-24b2-49ed-a867-e20b0f83c7e0",
            "createdAt": "2026-01-08T04:42:22.040Z",
            "updatedAt": "2026-01-08T04:43:02.292Z",
            "deletedAt": null,
            "value": "testing four",
            "parentId": null,
            "level": 1,
            "sortOrder": 0,
            "childCategoryList": []
        },
        {
            "id": "a1e384de-bc5c-48f0-91a1-e7c5c0c90ebf",
            "createdAt": "2026-01-08T04:42:11.869Z",
            "updatedAt": "2026-01-08T04:42:24.061Z",
            "deletedAt": null,
            "value": "testing three",
            "parentId": null,
            "level": 1,
            "sortOrder": 0,
            "childCategoryList": []
        },
        {
            "id": "e862e40c-7e3f-456e-bf46-ed44b6860d5e",
            "createdAt": "2025-12-12T08:52:48.901Z",
            "updatedAt": "2025-12-12T08:53:10.719Z",
            "deletedAt": null,
            "value": "Environment",
            "parentId": null,
            "level": 1,
            "sortOrder": 0,
            "childCategoryList": [
                {
                    "id": "dddf4d31-9099-44e5-95cd-48b6d04ac671",
                    "createdAt": "2025-12-12T08:53:35.405Z",
                    "updatedAt": "2026-01-08T04:39:37.616Z",
                    "deletedAt": null,
                    "value": "Enterprise",
                    "parentId": "e862e40c-7e3f-456e-bf46-ed44b6860d5e",
                    "level": 2,
                    "sortOrder": 3,
                    "childCategoryList": []
                }
            ]
        },
        {
            "id": "2af1b100-7c62-4984-bdfe-47c551de7068",
            "createdAt": "2025-11-02T17:13:53.549Z",
            "updatedAt": "2025-12-12T08:50:51.012Z",
            "deletedAt": null,
            "value": "Main Category",
            "parentId": null,
            "level": 1,
            "sortOrder": 1,
            "childCategoryList": [
                {
                    "id": "c743c316-19f4-47c7-a5ed-6ef3fe36507c",
                    "createdAt": "2025-12-12T08:49:12.184Z",
                    "updatedAt": "2025-12-12T08:50:51.012Z",
                    "deletedAt": null,
                    "value": "Sub Category 3",
                    "parentId": "2af1b100-7c62-4984-bdfe-47c551de7068",
                    "level": 2,
                    "sortOrder": 2,
                    "childCategoryList": []
                },
                {
                    "id": "3a8cf739-d846-4b7a-9cde-8c85158544ff",
                    "createdAt": "2025-11-02T17:17:56.036Z",
                    "updatedAt": "2025-12-12T08:50:51.012Z",
                    "deletedAt": null,
                    "value": "Sub Category 2",
                    "parentId": "2af1b100-7c62-4984-bdfe-47c551de7068",
                    "level": 2,
                    "sortOrder": 1,
                    "childCategoryList": []
                },
                {
                    "id": "58769fad-0ecb-4a6e-bd00-c7972a6274cf",
                    "createdAt": "2025-11-02T17:14:04.861Z",
                    "updatedAt": "2025-12-12T08:50:51.012Z",
                    "deletedAt": null,
                    "value": "sub 1",
                    "parentId": "2af1b100-7c62-4984-bdfe-47c551de7068",
                    "level": 2,
                    "sortOrder": 0,
                    "childCategoryList": [
                        {
                            "id": "1acc13dd-7d67-411c-976b-731cadaf2174",
                            "createdAt": "2025-12-12T08:50:32.234Z",
                            "updatedAt": "2025-12-12T08:50:51.012Z",
                            "deletedAt": null,
                            "value": "Item 1.4",
                            "parentId": "58769fad-0ecb-4a6e-bd00-c7972a6274cf",
                            "level": 3,
                            "sortOrder": 3
                        },
                        {
                            "id": "c16013b0-d95a-48c4-b665-0d05a1fdc884",
                            "createdAt": "2025-12-12T08:50:26.081Z",
                            "updatedAt": "2025-12-12T08:50:51.012Z",
                            "deletedAt": null,
                            "value": "Item 1.3",
                            "parentId": "58769fad-0ecb-4a6e-bd00-c7972a6274cf",
                            "level": 3,
                            "sortOrder": 2
                        },
                        {
                            "id": "f7f07618-710e-431d-a366-c6b68a4fb82d",
                            "createdAt": "2025-12-12T08:50:18.511Z",
                            "updatedAt": "2025-12-12T08:50:51.012Z",
                            "deletedAt": null,
                            "value": "Item 1.2",
                            "parentId": "58769fad-0ecb-4a6e-bd00-c7972a6274cf",
                            "level": 3,
                            "sortOrder": 1
                        },
                        {
                            "id": "608cc95e-573a-4756-914e-162a1a4049dd",
                            "createdAt": "2025-12-12T08:50:08.888Z",
                            "updatedAt": "2025-12-12T08:50:51.012Z",
                            "deletedAt": null,
                            "value": "Item 1.1",
                            "parentId": "58769fad-0ecb-4a6e-bd00-c7972a6274cf",
                            "level": 3,
                            "sortOrder": 0
                        }
                    ]
                }
            ]
        }
    ],
    "total": 10
}
Modified at 2026-01-08 18:10:58
Previous
Update status
Next
Listing
Built with