---
title: "Create Category"
method: POST
path: "/admin/content/categories"
tags: ["admin-content"]
---

# Create Category

`POST /admin/content/categories`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/content/categories`
- Auth: none declared

## Request body

- CategoryPayload
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable
  - `parent_id` integer, nullable
  - `sort_order` integer
  - `is_active` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
