Create Category Group
Creates a named category group for income, expense, or transfer categories.
The group name must be unique within the household. Assign categories to it using the category create or update endpoint; creating the group does not create categories.
Authorization
PersonalApiToken Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.
In: header
Path Parameters
ID of the household that owns the resource. GET /v1/households lists the households you can access.
Request Body
application/json
Display name. Must be unique among the household's category groups, ignoring case.
1 <= length <= 255Type given to every category placed in the group: income, expense, or transfer. It cannot be changed after the group is created.
Value in
- "income"
- "transfer"
- "expense"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/category-groups" \ -H "Authorization: Bearer $PENNY_API_TOKEN" \ -H "Content-Type: application/json" \ --data-raw '{ "name": "Everyday Expenses", "group_type": "expense"}'{ "id": "Cg2mV7pL4zXe", "name": "Everyday Expenses", "group_type": "expense"}Delete Category DELETE
Deletes a category and clears it from all transactions, including those on deleted accounts. The transactions themselves are kept. Rules that reference the…
Get Category Group GET
Returns a category group's name and type. Categories point to their group via groupid; list categories to see which ones belong to this group.