---
title: "Create a transaction category"
method: POST
path: "/groups/{groupId}/finance/categories"
tags: ["Legacy (v1-compat)"]
---

# Create a transaction category

`POST /groups/{groupId}/finance/categories`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/groups/{groupId}/finance/categories`
- Auth: HTTP bearer

## Path parameters

- `groupId` string, uuid, required

## Request body

- CompatCreateCategoryRequest
  - `name` string, required

## Response `201`

Created

- CompatCategory
  - `id` string, uuid, required
  - `name` string, required
  - `can_edit` boolean: Whether the caller may change or remove it: its creator, or the group's owner/admin (never an admin of a system group). Present on list responses.

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
