---
title: "Retrieve category"
method: GET
path: "/categories/{id}"
tags: ["Categories"]
---

# Retrieve category

`GET /categories/{id}`

Retrieve a specific category by providing its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

Successful Response

- GetCategoryResponse — Successful response to get a single category and its ancestry.
  - `data` CategoryResource, required — Provides information about a category and its ancestry.
    - `type` string, required — The type of this resource: `categories`
    - `id` string, required — The unique identifier for this category. This is a human-readable but URL-safe value.
    - `attributes` object, required
      - `name` string, required — The name of this category as seen in the Up application.
    - `relationships` object, required
      - `parent` object, required
        - `data` object, nullable, required
          - `type` string, required — The type of this resource: `categories`
          - `id` string, required — The unique identifier of the resource within its type.
        - `links` object
          - `related` string, required — The link to retrieve the related resource(s) in this relationship.
      - `children` object, required
        - `data` object[], required
          - `type` string, required — The type of this resource: `categories`
          - `id` string, required — The unique identifier of the resource within its type.
        - `links` object
          - `related` string, required — The link to retrieve the related resource(s) in this relationship.
    - `links` object
      - `self` string, required — The canonical link to this resource within the API.

## Changes

- **2020-08-15** (v1) `f3c8cf9cc9e6` — 1 info
  - endpoint added
- **2020-07-21** (v1) `2ac77a5de971` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/up-banking/apis/up-api/changes/categories/:id/get.md)

---

[API](https://skmtc.dev/up-banking/apis/up-api.md) · [All operations](https://skmtc.dev/up-banking/apis/up-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/up-banking/up-api/revisions/cc6a5e6d809d/schema)
