---
title: "Get list of all categories."
method: GET
path: "/kb/categories"
tags: ["Knowledge Base"]
---

# Get list of all categories.

`GET /kb/categories`

## Request

- Base URL: `https://api.charla.com/v1`
- URL: `https://api.charla.com/v1/kb/categories`
- Auth: API key in header `X-Api-Key`

## Response `200`

OK

- KbCategoryPublicApiResource[]
  - `id` integer: Category id, required when saving new articles.
  - `name` string, nullable: Name of the category
  - `parent` KbCategoryPublicApiResource (recursive)

---

[API](https://skmtc.dev/charla/apis/charla-public-api.md) · [All operations](https://skmtc.dev/charla/apis/charla-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/charla/apis/charla-public-api/revisions/671d88242ad4?raw)
