---
title: "Get Category Hierarchy"
method: GET
path: "/categories"
tags: ["Categories"]
---

# Get Category Hierarchy

`GET /categories`

Returns a hierarchical list of categories.

## Response `200`

Returns a hierarchical list of categories.

- GetCategoriesResponse
  - `data` CategoryLevel1[]
    - `id` integer — Unique identifier of the category.
    - `name` string — Name of the category.
    - `srTypes` ServiceRecordType[] — List of supported service record types.
    - `subcategories` CategoryLevel2[] — List of subcategories.
      - `id` integer — Unique identifier of the category.
      - `name` string — Name of the category.
      - `srTypes` ServiceRecordType[] — List of supported service record types.
      - `subcategories` CategoryLevel3[] — List of subcategories.
        - `id` integer — Unique identifier of the category.
        - `name` string — Name of the category.
        - `srTypes` ServiceRecordType[] — List of supported service record types.

## Other responses

- `401` — Authentication information is missing or invalid

---

[API](https://skmtc.net/sysaid/apis/sysaid-public-api.md) · [All operations](https://skmtc.net/sysaid/apis/sysaid-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sysaid/sysaid-public-api/revisions/38a43a1b2981/schema)
