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

# Create a category

`POST /categories`

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- CreateCategoryInput
  - `name` string, required — Category name
  - `entitlements` string[], required — Entitlemetns. A string array of product IDs.
  - `password` string — Password
  - `kind` string, required — Access level of this category
  - `slug` string — Category slug
  - `posts` string[] — Array of post IDs

## Response `201`

Category created.

---

[API](https://skmtc.net/fanhero/apis/tenant-endpoints.md) · [All operations](https://skmtc.net/fanhero/apis/tenant-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fanhero/tenant-endpoints/versions/8e7584c449dc/schema)
