---
title: "Create Category"
method: POST
path: "/expenses/categories"
tags: ["Expenses"]
---

# Create Category

`POST /expenses/categories`

Create a new expense category.

## Request body

- ExpenseCategoryRequestCreateRequest
  - `color` string, required
  - `name` string, required
  - `unitBased` boolean
  - `unitName` string
  - `unitPrice` integer — Price per unit in cents.

## Response `201`

Created

- ExpenseCategory
  - `color` string
  - `id` number
  - `name` string
  - `unitBased` boolean
  - `unitName` string
  - `unitPrice` integer

## Other responses

- `401` — Unauthorized

---

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