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

# Create category

`POST /v1/categories`

## Request body

- Category
  - `id` integer
  - `name` string, required
  - `color` string, nullable
  - `pipelineIds` string, nullable
  - `departmentIds` string, required

## Response `201`

Created

- Category
  - `id` integer
  - `name` string, required
  - `color` string, nullable
  - `pipelineIds` string, nullable
  - `departmentIds` string, required

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
