---
title: "Create Group"
method: POST
path: "/api/category-groups"
tags: ["category-groups"]
---

# Create Group

`POST /api/category-groups`

## Headers

- `X-Workspace-Id` string, nullable

## Request body

- CategoryGroupCreate
  - `name` string, required
  - `icon` string
  - `color` string
  - `position` integer

## Response `201`

Successful Response

- CategoryGroupRead
  - `name` string, required
  - `icon` string
  - `color` string
  - `position` integer
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `is_system` boolean, required
  - `categories` CategoryRead[]
    - `name` string, required
    - `icon` string
    - `color` string
    - `id` string, uuid, required
    - `user_id` string, uuid, required
    - `group_id` string, uuid, nullable
    - `is_system` boolean, required
    - `treat_as_transfer` boolean
    - `is_ignored` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) · [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesecuro/securo/revisions/1df3dfa0c028/schema)
