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

# Retrieve all category groups for a user

`GET /category-groups`

Requires **categories:read** scope.

## Query parameters

- `type` 'personal' | 'business'

## Response `200`

Successful Category Groups Response

- object
  - `data` CategoryGroup[]
    - `id` string, required — The id of the category group.
    - `key` string, required — A text key for the category group
  - `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)
