---
title: "Add a category"
method: POST
path: "/api/v1/categories"
tags: ["Categories"]
---

# Add a category

`POST /api/v1/categories`

## Request body

- V1AddCategory
  - `name` string, required
  - `description` string, nullable
  - `in_category_description` string, nullable
  - `meta_description` string, nullable
  - `meta_keywords` string, nullable
  - `meta_title` string, nullable
  - `order_location` integer
  - `live` boolean
  - `parent_category_id` integer, nullable

## Response `201`

The added category

- TempestResponseV1Category
  - `meta` object, nullable
  - `links` TempestLink[], nullable
    - `rel` string, nullable
    - `href` string, nullable
  - `validation_result` TempestValidationError[], nullable
    - `member_names` string[], nullable
    - `error_message` string, nullable
  - `errors` object, nullable
  - `data` V1Category
    - `id` integer
    - `name` string, required
    - `description` string, nullable
    - `in_category_description` string, nullable
    - `meta_description` string, nullable
    - `meta_keywords` string, nullable
    - `meta_title` string, nullable
    - `order_location` integer
    - `live` boolean
    - `parent_category_id` integer, nullable
    - `image_id` integer, nullable
    - `in_category_image_id` integer, nullable
    - `last_updated` string, date-time, nullable

## Other responses

- `400` — Invalid Request
- `401` — Unauthorized
- `403` — Forbidden

---

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