---
title: "List all categories"
method: GET
path: "/accounting/{connection_id}/category"
tags: ["accounting", "category"]
---

# List all categories

`GET /accounting/{connection_id}/category`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string
- `sort` string
- `order` string
- `query` string
- `parent_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- AccountingCategory[]
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `is_active` boolean
  - `parent_id` string
  - `type` 'CLASS' | 'DEPARTMENT' | 'LOCATION' | 'PROJECT' | 'TASK' | 'CUSTOM' | 'EXPENSE' | 'INCOME'
  - `code` string
  - `organization_id` string
  - `metadata` AccountingMetadata[]
    - `id` string
    - `slug` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `raw` object

## Changes

- **2026-08-12** `1c744a7590b4` — 2 info
  - added the enum value `metadata` to the property `items/` of the `query` request parameter `fields`
  - added the optional property `items/metadata` to the response with the `200` status
- **2026-07-31** `963bcc74f9e3` — 6 info
  - added the enum value `code` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `organization_id` to the property `items/` of the `query` request parameter `fields`
  - added the enum value `type` to the property `items/` of the `query` request parameter `fields`
  - added the optional property `items/code` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/unified/apis/unified-to-api/changes/accounting/:connection_id/category/get.md)

---

[API](https://skmtc.dev/unified/apis/unified-to-api.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api/revisions/e0a7ff925921?raw)
