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

# List categories

`GET /v1/categories`

## Request

- Base URL: `https://statusstack.com/api`
- URL: `https://statusstack.com/api/v1/categories`
- Auth: HTTP bearer

Every category, by name.

## Query parameters

- `search` string

## Response `200`

List of categories

- object
  - `data` Category[]
    - `id` string, uuid
    - `name` string
    - `slug` string

## Other responses

- `401`: No bearer credentials, or credentials that do not resolve to an API key or Sanctum token. Produced by `ApiAuthentication` ahead of the route, so every operation in the v1 group can return it.
- `403`: The API key lacks the required permission, or a policy denied the action. The two come from different layers and return different bodies, so this is a union rather than one shape.
- `429`: The `v1-api` rate limit (120 requests per minute) was exceeded. Applies to every operation in the v1 group.

---

[API](https://skmtc.dev/statusstack/apis/statusstack-api.md) - [All operations](https://skmtc.dev/statusstack/apis/statusstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/statusstack/apis/statusstack-api/revisions/a5fabf6ac5e4?raw)
