---
title: "Create category"
method: POST
path: "/categories"
tags: ["Categories"]
---

# Create category

`POST /categories`

Create a new category for organizing data sources.

## Request body

- RoutesV2CategoriesCategoryCreate
  - `name` string, required — Category name
  - `color` string, nullable — Hex color (e.g., #FF5733)
  - `order` integer, nullable — Display order

## Response `200`

Successful Response

- CategoryResponse
  - `id` string, required
  - `name` string, required
  - `user_id` string, required
  - `organization_id` string, nullable
  - `color` string, nullable
  - `order` integer
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/nozomio-labs/apis/nia-ai-api.md) · [All operations](https://skmtc.net/nozomio-labs/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nozomio-labs/nia-ai-api/versions/dbb602a3ef17/schema)
