---
title: "List Categories"
method: GET
path: "/categories"
tags: ["List Categories"]
---

# List Categories

`GET /categories`

Gets a list of all available categories.

## Response `200`

A list of categories

- CategoriesResponse
  - `apiVersion` string
  - `category` CategoryData[]
    - `id` integer — Category ID
    - `name` string — Category name
  - `status` string — Status message
  - `status_code` integer — Status code
  - `total_count` integer

## Other responses

- `404` — Resource not found

## Changes

> 24 revisions in range; 1 could not be searched.

- **2020-07-05** `5eade710a053` — 5 warning
  - removed the optional property `has_next` from the response with the `200` status
  - removed the optional property `has_previous` from the response with the `200` status
  - removed the optional property `number_of_pages` from the response with the `200` status
  - removed the optional property `page` from the response with the `200` status
  - …1 more
- **2020-05-12** `a1ebd031433f` — 2 warning, 1 info
  - removed the optional property `data` from the response with the `200` status
  - removed the optional property `data` from the response with the `404` status
  - added the optional property `category` to the response with the `200` status
- **2020-01-10** `ac7f919a3345` — 1 warning
  - removed the optional property `errors/invalid-credentials` from the response with the `404` status
- **2019-08-04** `ae55dad39068` — 1 info
  - added the non-success response with the status `404`
- **2019-07-28** `3d0b8e100bf8` — 1 warning, 7 info
  - removed the optional property `category` from the response with the `200` status
  - removed the non-success response with the status `404`
  - added the optional property `data` to the response with the `200` status
  - added the optional property `has_next` to the response with the `200` status
  - …4 more

[Change history](https://skmtc.dev/operationcode/apis/operation-code-resources-api/changes/categories/get.md)

---

[API](https://skmtc.dev/operationcode/apis/operation-code-resources-api.md) · [All operations](https://skmtc.dev/operationcode/apis/operation-code-resources-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/operationcode/operation-code-resources-api/revisions/6071d3157f6d/schema)
