---
title: "Create a moment category"
method: POST
path: "/v1/moment_categories"
---

# Create a moment category

`POST /v1/moment_categories`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/moment_categories`
- Auth: API key in header `X-User-Token`

## Request body

- object
  - `moment_category` object
    - `name` string

## Response `201`

Moment category created

- object
  - `id` integer
  - `name` string

## Other responses

- `422`: Unprocessable entity

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
