---
title: "Get Category"
method: GET
path: "/v2/categories/{id}"
tags: ["Ticket API"]
---

# Get Category

`GET /v2/categories/{id}`

Get a category (or subcategory) by ID.

## Path parameters

- `id` string, required — The category option ID to fetch. May be a top-level category or a nested subcategory option.

## Response `200`

Success

- SvhelpPublicapiGetCategoryOptionResponse
  - `data` SvhelpPubapimodelsCategoryOption
    - `id` string — The ID of the category option.
    - `teamId` string — The ID of the team that the category option belongs to.
    - `categoryName` string — The name of the category option.
    - `categoryDescription` string — The description of the category option.
    - `parentCategoryOptionId` string, nullable — The ID of the parent category option. Empty for a top-level category; set for a subcategory (which nests up to three levels deep).

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
