---
title: "Creates a new Category."
method: POST
path: "/v2/CreateCategory"
tags: ["CategoryCommand"]
---

# Creates a new Category.

`POST /v2/CreateCategory`

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLWawiItemPublicApiDataTransferObjectsV2CategoryCreateCategoryCommandRequest — Creates a new Category. - Request
  - `parentId` string, uuid
  - `sortNumber` integer — The sort number of the category.
  - `name` string — The category name.

## Response `201`

Category was successfully created

## Other responses

- `404` — Error while creating category.
- `500` — Internal server error.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
