Undo removing a category from a month, within a few minutes (ITEM-4).
Takes back the category's latest Remove from a month (`DELETE /months/{month}/items/{itemId}`), for 10 minutes after it: back in that month as it was (its group, place, Planned amount, and note), and each transaction the Remove untracked tracked to it again, if it hasn't changed since. Later, it's `invalid`: add it back to the month instead (by its name, ITEM-6), at $0.00 Planned. Answers with that month. Required scope: `budget:write` (personal access tokens; sessions have every scope).
Takes back the category's latest Remove from a month (DELETE /months/{month}/items/{itemId}),
for 10 minutes after it: back in that month as it was (its group, place, Planned amount, and
note), and each transaction the Remove untracked tracked to it again, if it hasn't changed
since. Later, it's invalid: add it back to the month instead (by its name, ITEM-6), at $0.00
Planned. Answers with that month.
Required scope: budget:write (personal access tokens; sessions have every scope).
Authorization
bearerAuth Authorization: Bearer <token>: a mobile session token, or a personal access token
(srp_…) created in Account → API tokens (DEV-1).
Personal access tokens:
- Act as their user, in any household the user belongs to (each call names it in its path).
- Carry scopes (DEV-2), and each operation's description names the one it needs:
budget:read/budget:write(months, groups, items, funds, favorites, harvest, cover),transactions:read/transactions:write(transactions, merchant suggestions),households:read/households:manage(households, members, invites),account:read/account:write(me, settings). A write scope includes its read scope. A call outside the token's scopes gets 403insufficient_scope, with the needed scope indetails.required_scope. - Can't manage tokens or passwords (403
session_required). - May expire (401
unauthenticatedafterwards). - Are rate-limited (DEV-3): 120 requests/minute per token with bursts up to 120. Every
response carries
X-RateLimit-Limit,X-RateLimit-Remaining, andX-RateLimit-Reset(seconds until the bucket is full again); over the limit the answer is 429rate_limitedwithRetry-After(seconds). Limits are kept per server instance, so they're approximate.
Subscriptions (BILL-4): once a household's free trial is over and its owner has no
subscription, every budget, transaction, and merchant-suggestion call answers 402
payment_required. Account, settings, and household calls keep working; subscribing
(on the web, Account → Billing) restores access to everything.
Sessions (web cookie or mobile bearer) have every scope and aren't limited this way. Cross-origin browser calls (CORS, for the API docs playground) must use a bearer token; cookies are never accepted cross-origin.
In: header
Path Parameters
ULID.
^[0-9A-HJKMNP-TV-Z]{26}$ULID.
^[0-9A-HJKMNP-TV-Z]{26}$Header Parameters
The API version (DEV-5), YYYY-MM-DD. Without it: your personal access token's pinned version, or the latest. 400 unknown_version / version_retired.
^\d{4}-\d{2}-\d{2}$Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/households/01J8Z3N4Q5R6S7T8V9W0X1Y2Z3/items/01J8Z3N4Q5R6S7T8V9W0X1Y2Z3/remove/undo"{ "month": "2026-12", "left_to_budget": 1234, "groups": [ { "id": "01J8Z3N4Q5R6S7T8V9W0X1Y2Z3", "name": "string", "color": "string", "is_income": true, "icon": "shopping-cart", "items": [ { "id": "01J8Z3N4Q5R6S7T8V9W0X1Y2Z3", "name": "string", "kind": "income", "icon": "shopping-cart", "is_fund": true, "is_debt": true, "debt_since": "2026-12", "debt_original": 0, "debt_minimum": 0, "debt_rate_bps": 2499, "debt_rate_kind": "apr", "one_off": true, "favorite": true, "fund_target": 0, "archived_from": "2026-10", "group_id": "01J8Z3N4Q5R6S7T8V9W0X1Y2Z3", "planned": 1234, "spent": 1234, "received": 1234, "remaining": 1234, "note": "string", "fund": { "carry_in": 1234, "adjustments": [ { "amount": 1234, "at": "2019-08-24T14:15:22Z", "by": "string" } ], "ending": 1234 }, "debt": { "carry_in": 1234, "adjustments": [ { "amount": 1234, "at": "2019-08-24T14:15:22Z", "by": "string" } ], "owed": 1234, "check_due": true }, "former_fund_balance": null } ], "totals": { "planned": 1234, "spent": 1234, "received": 1234, "remaining": 1234 } } ], "favorites": [ "01J8Z3N4Q5R6S7T8V9W0X1Y2Z3" ], "flat_order": [ "01J8Z3N4Q5R6S7T8V9W0X1Y2Z3" ], "center": { "planned": 1234, "spent": 1234, "remaining": 1234 }, "untracked_count": 0, "copied_from": "2026-12", "created_at": "2019-08-24T14:15:22Z"}Archive a category from {month} on (ITEM-9). POST
Archiving hides a category from `{month}` onward while keeping its history. `{month}` is the first month it's archived from: the current month or a later one (the web and app send the month being viewed). A month that has passed is refused with `422 month_in_past`, so history is never rewritten; to allow for time zones, "passed" means passed everywhere on Earth. The category: - leaves the budget of `{month}` and every later month that already exists, and its Planned amounts there go back to Left to Budget. A month with transactions tracked to it keeps it, with `archived_from` set, so nothing is untracked. - stays in every earlier month, unchanged, with `archived_from` set. - isn't copied into budgets created later. Its name stays reserved. Adding a category with the same name to a month from `{month}` on brings this one back (unarchives it) instead of making a new one. To list archived categories, use `GET /items?include_archived=true`. Works on income and expense categories alike. Required scope: `budget:write` (personal access tokens; sessions have every scope).
Undo archiving a category, within a few minutes (ITEM-9). POST
Takes back the category's latest archive, for 10 minutes after it. The category goes back into each month it was taken out of, with its Planned amount, group, and place as they were. `archived_from` is cleared. Later, it's `invalid`: use unarchive instead (which brings it back at $0.00 Planned). Required scope: `budget:write` (personal access tokens; sessions have every scope).