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

# Retrieve all categories for a user

`GET /categories`

## Request

- Base URL: `https://api.moneyhub.co.uk/v3`
- URL: `https://api.moneyhub.co.uk/v3/categories`
- Auth: API key in header `Authorization`

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.dev/moneyhubenterprise/apis/moneyhub-data-api-v3.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-data-api-v3/revisions/2e08b5dbee56?raw)
