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

# Create a new category

`POST /categories`

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 `201`

- 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`

---

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