---
title: "List Categories"
method: GET
path: "/api/v1/admin/categories/"
tags: ["Admin: Товары"]
---

# List Categories

`GET /api/v1/admin/categories/`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/categories/`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/categories/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `active` boolean, nullable

## Response `200`

Successful Response

- CategoryRead[]
  - `name` string, required
  - `slug` string, required
  - `active` boolean
  - `sort_order` integer
  - `id` integer, required
  - `product_count` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
