---
title: "Retrieve all categories for a user"
method: GET
path: "/categories"
tags: ["categories"]
---

# Retrieve all categories for a user

`GET /categories`

Requires **categories:read** scope.

## Query parameters

- `limit` integer
- `offset` integer
- `type` 'personal' | 'business' | 'all'

## Response `200`

Successful Categories Response

- object
  - `data` Category[]
    - `categoryId` string, required — The id of the category. Custom categories are prefixed with 'cus:'
    - `name` string — The name of the category - only applicable for custom categories
    - `key` string — A text key for standard categories
    - `group` string, required — The category group to which the category belongs
  - `links` Links
    - `next` string, uri — The url to retrieve the next page of results from
    - `prev` string, uri — The url to retrieve the previous page of results from
    - `self` string, uri, required — The url of the current resource(s)
  - `meta` object

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes

---

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