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

# Create a new category

`POST /categories/create`

Create a new custom expense category for the organization.

## Request body

- CreateCategoryApiRequest — Request body for creating a new expense category
  - `name` string, required — Name of the category
  - `visibleForCardSpend` boolean, required — Whether this category is applicable to card transactions
  - `visibleForOther` boolean, required — Whether this category is applicable to all other transaction kinds
  - `visibleForReimbursements` boolean, required — Whether this category is applicable to expense reimbursement transactions

## Response `200`

- CategoryData — Represents an expense category for transaction classification.
  - `id` string, uuid, required — The ID of the category
  - `name` string, required — The name of the category
  - `visibleForCardSpend` boolean, required — Whether this category is applicable to card transactions
  - `visibleForOther` boolean, required — Whether this category is applicable to all other transaction kinds
  - `visibleForReimbursements` boolean, required — Whether this category is applicable to expense reimbursement transactions

## Other responses

- `400` — Invalid `body`

## Changes

- **2026-04-23** `3e266f593eb1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mercurytechnologies/apis/mercury-api/changes/categories/create/post.md)

---

[API](https://skmtc.dev/mercurytechnologies/apis/mercury-api.md) · [All operations](https://skmtc.dev/mercurytechnologies/apis/mercury-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mercurytechnologies/mercury-api/revisions/314f542b4d39/schema)
