Making Requests
Every request goes to the same base URL, carries the same header, and gets JSON back.
curl https://api.budgetthing.com/api/v1/workspaces \
-H "Authorization: Bearer $BUDGETTHING_TOKEN"
Content type
Send Content-Type: application/json on any request with a body. Successful
responses are application/json; failures are application/problem+json, and
the shape is described in Errors.
DELETE operations generally answer 204 No Content with an empty body.
Creates answer 201 Created with the new resource.
Workspace-scoped paths
Almost everything belongs to a workspace, and the workspace ID is a path segment:
/api/v1/workspaces/{workspaceID}/transactions
/api/v1/workspaces/{workspaceID}/accounts
/api/v1/workspaces/{workspaceID}/categories
Get the ID from GET /api/v1/workspaces. If your token is restricted to one
workspace, that listing is refused — see
Scopes — so keep
the ID in your configuration instead.
Identifiers
Every ID is a prefix, an underscore, and 22 base62 characters. The prefix tells
you what the ID refers to: wks_ for a workspace, acct_ for an account,
cat_ for a category, tag_ for a tag, pat_ for a personal access token.
Treat them as opaque strings — match on the prefix if you must, but never parse
the rest.
Amounts and dates
Amounts are integers in the workspace's minor unit, in fields ending in
Minor. A workspace configured with two decimal places represents 12.34 as
1234. The precision is per workspace: read currencyPrecision from the
workspace rather than assuming two. Each currency's usual symbol, decimal places
and separators are listed by list-currencies.
Event payloads (webhooks, the event history and the event stream) are the
exception: their _minor amounts always use a fixed scale of 4, whatever the
workspace precision. See
Amounts in events.
Dates that represent a calendar day are YYYY-MM-DD strings. Timestamps are
RFC 3339 in UTC. Workspaces also carry a dateFormat, but that is a display
preference for clients — it never changes the format on the wire.
The sign of a transaction amount
A transaction's amountMinor is a magnitude; its direction comes from kind.
The same rules apply when you create a transaction, when you change its amount
with PATCH /v1/workspaces/{workspaceID}/transactions/{transactionID}, and when
you convert it with convert-to-transfer:
expenseandincomeamounts must not be negative. Zero is allowed for a split transaction whose signed splits add up to zero.- A
transferamount must be positive. To move money the other way, create a transfer with the accounts swapped; a negative amount never reverses one. An expense or income with a zero amount can't be converted to a transfer. - An
opening_balanceamount is signed and may be zero.
A transfer into a credit card or loan that is managed by the Debt Center is
applied automatically to a bill occurrence. Send extraDebtPayment: true when
you create the transfer, or PATCH it later, to keep a one-time extra payment
off the bills. See Extra payments on a Debt Center debt.
A request that breaks a rule is rejected with 422, code
VALIDATION_FAILED and a detail key of
errors.api.amountMinorMustNotBeNegative.detail or
errors.api.amountMinorMustBePositive.detail; nothing is saved. A PATCH
that leaves out amountMinor is not checked, so you can still edit the memo
or tags of an older transaction that breaks a rule.
Changing transactionDate also moves the transaction's journal entry, so its
budget activity counts in the period of the new date.
Budget periods
Planning and funding are addressed by budget period, not by calendar month.
Each workspace has its own budgeting schedule, and a period is the inclusive
range of dates that schedule produces. The old YYYY-MM month addressing no
longer exists.
A period is reported as its two dates, and the start date is its identity:
{
"startDate": "2026-09-18",
"endDate": "2026-10-01"
}
That example is deliberate. A period may cross a calendar month, and it is still one period — do not derive it from the month part of either date.
Two query parameters select a period, and they are mutually exclusive:
| Parameter | Selects |
|---|---|
date | The period containing that calendar day. |
periodStart | The period that begins exactly on that day. |
A periodStart that is not one of the workspace's period boundaries is
rejected rather than snapped to the nearest one. Send neither and you get the
period the workspace is in today.
curl -G https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/planning \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
--data-urlencode "date=2026-09-24"
Reading a single period accepts either parameter; replacing one requires
periodStart, because a write has to name the period it means. The funding
screen takes either.
The two target-assignment operations select their period the same way, but in
the JSON body rather than the query string, next to the idempotencyKey they
require: date or periodStart, plus a categoryId when assigning to a single
category's target. Amounts are never sent — the API assigns exactly what the
target still needs for that period. Assigning to every unmet target is one
atomic operation, so an assignable balance that cannot cover the total assigns
nothing at all.
Money is assigned in the current period only
Every operation that assigns or un-assigns money works only in the period the
workspace is in today: previewing and applying funds (fundingDate),
assigning to one or to all category targets, and un-assigning (date or
periodStart). Omit date and periodStart, or name any day of the current
period. Anything else fails with 422 INVALID_FUNDING_DATE:
- A period that has already ended is read-only, and the
detailexplains it (translation keyerrors.api.fundingPeriodIsReadOnly.detail). - A period that hasn't started yet is refused the same way
(
errors.api.fundingPeriodHasNotStarted.detail). Money assigned now is in the category now, so it can't be assigned to a later period. To plan a later period, give its categories planned amounts with the planning endpoints.
details.fundingDate is the first day of the refused period and
details.reason says why. "Today" is in the workspace's time zone. A retry
with the idempotencyKey of a run that was already recorded still returns that
run after its period has ended. To correct an assignment in a past period,
reverse its run with POST /funding-runs/{runID}/reversal. Reversals aren't
limited to the current period.
Several periods at once are addressed by their two boundaries, both of which must be exact period starts:
curl -G https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/planning/range \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
--data-urlencode "fromPeriodStart=2026-09-18" \
--data-urlencode "toPeriodStart=2026-11-13"
The matching PUT carries a periods array, each entry naming its own
periodStart and expectedVersion. It is all-or-nothing: if one period fails
its version check, none of them are written.
The planning, planning range and funding screen responses return their
categories in categoryGroups, already in display order. Two sections are
synthetic, and both have a groupId of null:
| Section | isSystem | Position | Holds |
|---|---|---|---|
| System categories | true | First | System categories you budget into directly, such as Debt Paydown. |
| Ungrouped | false | Last | Your own top-level categories that are not in a group. |
Use isSystem to tell the two apart; don't match on groupName, which is a
display name. Each section's totals cover only the categories in it.
Spent in a funding screen category
Each category in the funding screen response carries activityThisPeriod, the
amount the category spent inside the screen's period. It is read from the same
ledger as currentBalance, not from the spending report, so a category's
assigned amount, its activity and its balance describe one set of books.
- Sign. Spending is a positive amount. A refund, or any other inflow to the category, reduces it, so it is negative when refunds exceed spending.
- What counts. Transactions dated within the period,
startDateandendDateboth included. An entry dated on either boundary day belongs to that period, and the day beforestartDateor afterendDatedoes not. - Manual ledger entries count as activity like any other posting.
- What doesn't. Assignments and their reversals (already reported as
assignedThisPeriod) and Move money transfers between categories. A transfer changescurrentBalancebut is neither spending nor a refund. - A split transaction counts each category's own share.
Like every amount, it is returned as a money object at the workspace's display precision. It is a per-category figure only: group and summary totals do not include it.
The workspace's schedule is readable and writable in its own right, and a
proposed schedule can be previewed — it returns the periods that schedule would
produce without storing anything. Changing the schedule does not reinterpret
history: a period that already has a saved plan keeps the endDate it was
planned with.
Pagination
Lists come in three kinds: unpaginated, page-numbered and cursor-paged. Check which kind an operation uses in the OpenAPI document before you write a loop.
Unpaginated lists return every record in one response and take no paging parameters. Workspaces, accounts, categories and tags work this way.
Page-numbered lists take page and pageSize query parameters. This is
the most common kind; transactions, recurring transactions and payees use it.
| Parameter | Default | Range |
|---|---|---|
page | 1 | 1 or greater |
pageSize | 100 | 1 to 1000 |
Transaction rules use smaller pages: pageSize defaults to 50, with a maximum
of 200.
The response repeats both values and reports the total number of matching
records, so you can page until you have seen total:
{
"transactions": [],
"total": 1842,
"page": 3,
"pageSize": 100
}
The collection key is named after the resource — transactions,
recurringTransactions, payees — so it differs per endpoint. There are
no Link headers.
Cursor-paged lists take a pageToken and return a nextToken with the
next page, because these lists change often and page numbers would shift
underneath you. Send pageSize (default 100, maximum 1000) on the first
request only; after that, send just the pageToken and the same filters. When
nextToken is missing, you have reached the last page. Three areas use
cursors:
- the webhook delivery listings;
- the workspace attachment library,
GET /api/v1/workspaces/{workspaceID}/attachment-library; - the bank-sync inbox of imported bank activity.
Filtering
Filters are query parameters, and they combine with AND. Transactions accept
the widest set:
| Parameter | Filters by |
|---|---|
accountId | Primary account |
payeeId | Payee |
categoryId | Category |
tagId | Tag |
excludeAccountIds | Leave out these accounts: up to 50 comma-separated account IDs (acct_…). A transfer is left out when either its source or its destination account is listed, so both legs of a transfer disappear |
excludeCategoryIds | Leave out these categories: up to 50 comma-separated category IDs (cat_…). A split transaction is left out whole when any of its splits uses a listed category, even if its other splits don't. Transfers have no category and stay |
excludePayeeIds | Leave out these payees: up to 50 comma-separated payee IDs (vnd_…). Transactions without a payee stay |
excludeTagIds | Leave out transactions with any of these tags: up to 50 comma-separated tag IDs (tag_…). Untagged transactions stay |
createdBy | Who created it: one or more comma-separated membership IDs (mbr_…), also for members who have since left. Transactions without a creator never match |
q | Free text: a case-insensitive substring of the payee name, category name (any split), memo (transaction or split) or account name (either side of a transfer). Up to 200 characters |
payeeText, categoryText, memo | The same text match, limited to the payee name, the category name of any split, or the memo (transaction or split) |
dateFrom, dateTo | Date range, inclusive, YYYY-MM-DD |
amountMin, amountMax | Amount range, inclusive, in minor units |
amountGt, amountLt | Amount strictly greater or strictly less than the value, in minor units. Compared against the stored amount, which can have digits below the workspace's display precision, so no match is dropped when precision was lowered later |
isCleared | true or false |
isReconciled | true or false |
Text filters match literally: % and _ in the text are ordinary characters,
not wildcards.
The exclude parameters take only IDs of records in the workspace in the path.
Each is optional, repeated IDs count once, and they combine with every other
filter, so accountId=acct_…&excludeCategoryIds=cat_… lists one account except
a category. A request is refused with 422 when:
- an exclude list has more than 50 IDs (
tooManyExcludeValues); - an ID isn't an account, category, payee or tag of the workspace, including one
that was deleted (
excludeReferenceNotFound); or - the same ID is both included and excluded, such as
categoryId=cat_AwithexcludeCategoryIds=cat_A(excludeConflictsWithFilter).
The 422 carries the standard VALIDATION_FAILED code; the error name is in
detail. The CSV export and saved filters take the same parameters.
Each transaction carries createdBy (memberId, displayName, formerMember)
when a member created it by hand, with an access token, by approving an inbox
item (the approving member), through a file, YNAB or Actual import (the member
who started it) or as a posting of a recurring transaction (the member who
created the series). It is absent for transactions created before attribution
existed, which are not backfilled, and for postings of recurring transactions
created before it. displayName is the member's current name or the name
at creation once they have left; it is empty when no name is known, so use
formerMember to choose your own label. Transaction exports add
createdByMemberId and createdByName the same way.
curl -G https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/transactions \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
--data-urlencode "dateFrom=2026-01-01" \
--data-urlencode "dateTo=2026-01-31" \
--data-urlencode "isCleared=true" \
--data-urlencode "pageSize=50"
A transaction comes back like this:
{
"id": "txn_5Kd9Pw3Mb7Rq2Nx8Hj4Zt",
"activityType": "transaction",
"kind": "expense",
"accountId": "acct_8Vb2Nq6Xz1Wm4Kd7Rj9Lt",
"payeeId": "vnd_2Rt7Km4Xb9Nz3Wq6Hd1Lp",
"payeeLabel": "Northwind Energy",
"amountMinor": 4250,
"amountDisplay": "$42.50",
"transactionDate": "2026-01-17",
"memo": "January invoice",
"clearedAt": "2026-01-18T14:03:22Z",
"isReconciled": false,
"isCleared": true,
"splits": [],
"tags": [],
"attachmentCount": 0,
"journalEntryId": "jrn_6Wq1Lp8Nd3Zx5Rk9Tb2Hm",
"isRecurringOccurrence": false,
"createdAt": "2026-01-17T19:41:08Z",
"updatedAt": "2026-01-18T14:03:22Z"
}
Fields marked optional in the schema are omitted when empty rather than sent as
null, so toAccountId, reconciliationId and recurringTransactionId are
simply absent above. Read defensively.
Ready to pay moved by a card balance transfer
A transfer between two credit cards (kind: "transfer", accountId the card that
takes on the debt, toAccountId the card it pays down) also returns
readyToPayMovedMinor: the part of the paid-down card's Ready to pay that the
transfer moved to the other card's payment category, in the workspace's minor
unit. It is 0 when nothing moved, and the field is absent on every other
transaction, including transfers between loans or between a card and a loan.
The value is read-only and derived, never sent on create or update. It is
recalculated when the transfer's amount, date or accounts change, when the
transfer is deleted, and when the card balances before it change. The same
transfer appears as a row in the payment category activity of both cards
(list-transactions with categoryId), and the running balance there still
matches each category's balance. The field is additive, so existing clients keep
working.
Exporting selected transactions
POST /workspaces/{workspaceId}/transactions/export returns a CSV file
(text/csv) with the transactions you select. Send up to 500 unique transaction
IDs, the same limit as the bulk edits:
{ "transactionIds": ["txn_01H...", "txn_01J..."] }
By default the header and every row are exactly those of transactions.csv in the
workspace data export: id, kind, date, accountId,
toAccountId, payeeId, amountMinor, memo, cleared, reconciled,
reconciliationId, categoryIds, createdByMemberId, createdByName. Both
come from one writer, so they cannot drift apart. categoryIds lists the
category of each split separated by spaces, and amountMinor is in the
workspace's minor unit. Rows follow the order of transactionIds. The response
has Content-Disposition: attachment; filename="transactions-YYYY-MM-DD.csv".
Add "format": "readable" to the body for a file meant for spreadsheets, which
is what the app's Export action downloads:
{ "transactionIds": ["txn_01H...", "txn_01J..."], "format": "readable" }
It starts with a UTF-8 byte order mark and has the columns date, account,
toAccount, payee, category, memo, amount, currency, cleared,
reconciled, createdBy. Account, payee and category are names, not IDs, and
are empty when the reference no longer exists; a split transaction lists its
categories separated by ; ; toAccount is set only for transfers. amount is
a signed decimal in major units of the workspace currency, the effect on
account (negative for money out): -12.50 in a two-decimal currency, -1250
in a zero-decimal one, never grouped or rounded. Text cells that start with =,
+, - or @ get a leading '. Leaving out format (or "machine") keeps the
default layout, so existing integrations are unaffected.
It is a read: it needs the transactions:read scope, and a member who can list
the workspace's transactions can export a selection of them, whatever their
role. It changes nothing and works on a read-only plan.
The request is all or nothing. An empty list, duplicate IDs or more than 500 IDs
is 422. If any ID isn't a transaction of this workspace (it was deleted, or it
belongs to another workspace) the whole request is 404
(oneOrMoreTransactionsWereNotFound) and no file is returned; nothing is
skipped silently.
A spreadsheet opens a text cell that starts with =, +, -, @, a tab or a
carriage return as a formula. So that a downloaded file can't run text written
by another member or brought in by an import, text columns such as memo and
createdByName are prefixed with a single quote (') when they start with one
of those characters. Numeric and ID columns are never changed: amountMinor
stays a plain number even when it is negative. The workspace export's
transactions.csv and its other CSV files follow the same rule, and so do the
business report CSVs; the JSON files keep the original text.
Exporting filtered transactions
GET /workspaces/{workspaceId}/transactions/export returns the transactions
that match a query as a spreadsheet-style CSV file (text/csv). It takes the
same filters as listing transactions (accountId, payeeId, categoryId,
tagId, excludeAccountIds, excludeCategoryIds, excludePayeeIds,
excludeTagIds, createdBy, q, payeeText, categoryText, memo, dateFrom,
dateTo, amountMin, amountMax, amountGt, amountLt, isCleared and
isReconciled) and returns the rows in the same order, so an export of a query
holds exactly the transactions the list returns for it. page and pageSize
are ignored: an export is never one page.
GET /api/v1/workspaces/wks_01H.../transactions/export?dateFrom=2026-03-01&dateTo=2026-03-31
The columns are date (YYYY-MM-DD), account, payee, category, memo,
amount, cleared (true or false), tags (comma separated) and
currency (the workspace's currency code). Names, not IDs, so the file reads
well in a spreadsheet; the ID-based file is the
selected transactions export above.
amountis a plain decimal in the workspace currency's precision (-12.50, no symbol or thousands separator), signed from the account's point of view: negative for an expense or an outgoing transfer, positive for income, an incoming transfer and a positive opening balance.- A split transaction is one row per split, each with its own category, amount
and memo (the transaction's memo when the split has none). The amounts add up
to the transaction (each split is rounded to the workspace precision on its own),
except that with
categoryIdorcategoryTextonly the splits in the matching category are included, so the amounts add up to that category's total. - A transfer is one row on its source account with the payee
Transfer : <destination account>. WhenaccountIdnames the destination, it is one row on that account instead, positive, with the source as the payee. - Only account transactions are exported. The budget assignment and category transfer rows a category listing shows are not, because they have no account.
The file imports back through the generic CSV importer: its header uses the
names the importer suggests (date, payee, memo, amount, cleared,
category); map account as the account column. Totals, signs and amounts
survive the round trip.
It needs the transactions:read scope and returns what the caller can already
list: any role that can read the workspace's transactions can export, viewers
included, and it works on a read-only plan. Text columns that start with =,
+, -, @, a tab or a carriage return get a leading ', as in the other
CSV exports; amount is never changed.
An export covers at most 25,000 transactions. A larger match is refused with
422 (transaction_export_too_large, with the limit in translationParams)
and no file is returned; narrow the date range or add filters. There is no
partial file. Exports share the workspace's export rate limit (429 with
Retry-After): about five in a burst, then roughly one every 48 seconds.
Updating recurring transactions
PATCH /workspaces/{workspaceId}/recurring-transactions/{id} applies only the
fields you send. schedule and anchorDate are treated as a schedule change
only when they differ from the stored values. Sending the current values back
unchanged does not move nextDueDate, so an occurrence that is due today (or
overdue and not yet created) is never skipped by an unrelated edit such as a
new memo or amount.
When the schedule or anchor date does change, nextDueDate is recomputed from
the new schedule as the first occurrence on or after today that comes after the
latest occurrence already created. An occurrence due today is still created.
Guarding against stale edits
GET, POST and PATCH on a recurring transaction return an ETag header
holding the series' updatedAt as a quoted UTC timestamp, for example
"2026-01-17T09:30:00.123456Z". To make sure you do not overwrite an edit
someone else made after you loaded the series, send it back on the update as an
optional If-Match header:
curl -X PATCH https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/recurring-transactions/rtxn_5Hd2Qm8Wz4Nc7Kp1Vb3Jr6 \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: "2026-01-17T09:30:00.123456Z"' \
-d '{"memo": "Streaming"}'
If the series changed since, the update is refused with 412
(RECURRING_TRANSACTION_CHANGED) and nothing is written; read the series again
and reapply your change. The ETag changes on any change to the series, not only
edits: it also changes when a scheduled occurrence posts (nextDueDate
advances) and when the series is deleted, so a stale If-Match is refused in
those cases too. The bare updatedAt value is accepted as well as the
quoted ETag, and * matches any current series. A value that is not a
timestamp never matches. The header is optional: without it the update behaves
as before.
| Status | Code | When |
|---|---|---|
412 | RECURRING_TRANSACTION_CHANGED | If-Match did not match the series' current updatedAt. |
Idempotency
Idempotency is available where a duplicate would do real damage, and it works in one of two ways depending on the operation.
As a header. Creating a transaction, recording a bill payment, creating a
category transfer, recording an invoice payment, creating a category, creating a transaction rule and creating an attachment accept an optional Idempotency-Key request header (up to
255 characters). Retrying with the same key and the same body returns the
original transaction, transfer, payment, category, rule or attachment instead of creating a second one. The same key
with a different body is a conflict.
curl -X POST https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/transactions \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: invoice-2026-01-17-northwind" \
-d '{
"kind": "expense",
"accountId": "acct_8Vb2Nq6Xz1Wm4Kd7Rj9Lt",
"amountMinor": 4250,
"transactionDate": "2026-01-17",
"memo": "January invoice"
}'
For a category transfer (POST /v1/workspaces/{workspaceID}/category-transfers)
the body that must match is sourceCategoryId, destinationCategoryId,
amountMinor, memo and date as you sent them; leaving date out on both
requests counts as the same request even if the retry lands on a later day. A
replay returns the original transfer with the same 201 status and moves no
money, so a client that timed out after the server committed can retry safely.
A key reused with a different body is a 409 IDEMPOTENCY_KEY_CONFLICT whose
details.field is Idempotency-Key. Keys are scoped to the workspace, and a
request without the header is never deduplicated.
For an invoice payment (POST /v1/workspaces/{workspaceID}/invoices/{invoiceID}/payments)
the body that must match is amountMinor, date, method, reference, note
and transaction, and the key belongs to that invoice. A replay returns the
original payment with 201 and its linked transaction, records no second
payment and creates no second income transaction, even if the first request
already paid the invoice off. A different body under the same key is the same
409 IDEMPOTENCY_KEY_CONFLICT.
For creating a category (POST /v1/workspaces/{workspaceID}/categories) the
body that must match is name, isGroup, parentId and sortOrder. For
creating a transaction rule (POST /v1/workspaces/{workspaceID}/transaction-rules)
it is name, description, enabled, priority, stopProcessing,
conditions and actions; the conditions and actions are compared by meaning,
so a different key order or spacing in the JSON is still the same request, and
leaving priority out (add the rule last) is different from sending one. A
replay returns the original category or rule with the same 201 status and
creates nothing, so a client that timed out after the server committed can
retry safely. A key reused with a different body is a
409 IDEMPOTENCY_KEY_CONFLICT whose details.field is Idempotency-Key. Keys
are scoped to the workspace, and a request without the header is never
deduplicated. This is an additive change: existing requests behave as before.
As a body field. Applying, un-assigning and reversing a funding run, and assigning to one
or to all category targets, take a required idempotencyKey field in the
request body, between 1 and 200 characters. An identical retry returns the
original run or reversal.
Applying a funding run fails with 409 INSUFFICIENT_ASSIGNABLE_FUNDS when its
total is more than Ready to Assign. Send "allowOverAssign": true in the body
to let the run through anyway and leave Ready to Assign negative; the field is
optional and defaults to false, so existing callers are unaffected. The flag
is part of the request, so retrying with the same key and a different
allowOverAssign is an IDEMPOTENCY_KEY_CONFLICT.
Reusing a key with a different payload is rejected with
IDEMPOTENCY_KEY_CONFLICT, and the offending field and key come back in
details:
{
"status": 409,
"code": "IDEMPOTENCY_KEY_CONFLICT",
"details": {
"field": "idempotencyKey",
"idempotencyKey": "invoice-2026-01-17-northwind"
}
}
Two related codes appear when the value itself is wrong:
IDEMPOTENCY_KEY_REQUIRED when a required key is missing, and
INVALID_IDEMPOTENCY_KEY when it is blank or longer than 200 characters.
Generate a key that is stable for the logical operation and different for every new one — a natural identifier from your own system works well. Other operations have no idempotency mechanism; make them safe by checking before you write.
Un-assign money from a category
POST /v1/workspaces/{workspaceID}/funding/unassign lowers a category's
Assigned for a budget period and returns the money to Ready to Assign. It is the
reverse of applying funds to one category.
{
"idempotencyKey": "unassign-2026-11-groceries-1",
"categoryId": "cat_3Kd9Wz2Qm7Xv1Nb5Rt8LpA",
"amountMinor": 2500
}
amountMinoris a positive amount in the workspace's display minor unit. It can't be more than the category has available: the request fails with422 UNASSIGN_EXCEEDS_AVAILABLE, anddetails.availableAmountsays how much can be taken back (zero for an overspent category). Available never goes negative.- Only the current budget period can be lowered. Omit
dateandperiodStart, or name the current period with one of them (they are mutually exclusive, as on the other funding writes). A past or future period fails with422 INVALID_FUNDING_DATE(see Money is assigned in the current period only). - The category must be one a normal assignment could target; otherwise the
request fails with
422 INVALID_FUNDING_CATEGORY. - The response is a funding run with
kind: "unassignment"and201 Created.totalAmountis positive, and the allocation'samountis negative because that is its effect on Assigned. It appears inGET /funding-runs(kind=unassignment), and the allocation it posts haskind: "unassignment". - The run can be undone with
POST /funding-runs/{runID}/reversallike any other. Undoing it assigns the money to the category again, so it fails with409 INSUFFICIENT_ASSIGNABLE_FUNDSwhen Ready to Assign no longer holds it. idempotencyKeyis required; an identical retry returns the original run. Requires the owner, admin or editor role.
Exporting a budget period
GET /v1/workspaces/{workspaceID}/funding-screen/export downloads the
Categories screen's figures as a CSV file (text/csv, named
budget-YYYY-MM-DD.csv, or budget-YYYY-MM-DD-to-YYYY-MM-DD.csv for a range).
GET /api/v1/workspaces/wks_01H.../funding-screen/export?periodStart=2026-03-01
GET /api/v1/workspaces/wks_01H.../funding-screen/export?periodStart=2026-01-01&toPeriodStart=2026-03-01
- Select the first period with
date(any day in it) orperiodStart(its exact first day), which are mutually exclusive as onGET /funding-screen; omit both for the current period. AddtoPeriodStart, the exact first day of the last period, to cover every period from the first through that one, at most 24. AperiodStartortoPeriodStartthat is not a period boundary is422 INVALID_BUDGET_PERIOD_START; a range that ends before it starts, or has more than 24 periods, is422 INVALID_BUDGET_PERIOD_RANGE. Nothing is returned in those cases. - One row per category per period, in the screen's order. The columns are
period_start,period_end,group,category,hidden,planned,assigned,activity,available,target_type,target_required,target_remaining,target_metandcurrency. plannedisplannedThisPeriod,assignedistargetStatus.assignedThisPeriod,activityisactivityThisPeriodandavailableiscurrentBalanceof the funding screen for the same period, and the four target columns are the category'stargetStatus(target_type,requiredThisPeriod,remainingToTarget,satisfied), empty when it has no target. They are the same code as the screen, so past (read-only) periods and hidden categories behave exactly as onGET /funding-screen.availableis the balance now, not a historical balance at the end of a past period.- Amounts are plain decimals in the workspace currency's precision (
-12.50, no symbol or thousands separator).activityis positive for spending and negative for a net refund;availableis negative for an overspent category. - Text columns that start with
=,+,-,@, a tab or a carriage return get a leading', as in the other CSV exports.
It needs the funding:read scope (the scope of the funding screen it
mirrors); any role that can view the budget can export, viewers included, and
it works on a read-only plan because it changes no data. Exports share the
workspace's export rate limit (429 with Retry-After). Assistants do not get
a tool for it: they read the same figures with get_funding_screen.
Request IDs
Every response carries an X-Request-Id header. Send your own and it is used
as-is; omit it and the API generates one. It is logged on the server side, so
quoting it makes a support conversation about a specific failed call much
shorter.
curl -i https://api.budgetthing.com/api/v1/workspaces \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
-H "X-Request-Id: nightly-export-2026-01-17-001"
Journal entries
POST /v1/workspaces/{workspaceID}/journal-entries (scope ledger:write)
creates a balanced manual journal entry. Manual entries are for your own
ledger accounts only, so the endpoint cannot be used to create money that no
transaction, allocation or category transfer backs:
- The entry is always recorded with
sourceTypemanual.sourceTypeandsourceIdin the request are accepted for compatibility but ignored, and the response returnssourceType: "manual"with nosourceId. - No line may post to a system ledger account, a category ledger account,
the Ready to Assign ledger account, or the ledger account behind a financial
account (a bank, credit card, loan or any other account). Such a request is
rejected with
422,codeVALIDATION_FAILEDand adetailkey oferrors.api.journalLineLedgerAccountIsNotPostable.detail; nothing is saved. Move money between categories with transactions, allocations and category transfers instead, and change an account's balance with a transaction. Account balances only count lines that belong to a transaction.
The existing rules still apply: at least two lines, lines that add up to zero, and ledger accounts that exist in the workspace and are not archived.
Deleting categories and accounts
DELETE /v1/workspaces/{workspaceID}/categories/{categoryID} refuses a
category that still holds money with 409 and code CATEGORY_HAS_BALANCE
(category_has_balance in the code entry of errors). The balance is the
net of every journal line on the category: assignments, funding and category
transfers, future months included. Move the money out with
POST /v1/workspaces/{workspaceID}/category-transfers (to Ready to Assign or
another category), then delete again. The API never moves money for you. The
existing refusals still apply first: CATEGORY_HAS_TRANSACTIONS when a
transaction, recurring transaction or inbox item uses the category, and
CATEGORY_HAS_CHILDREN for a group that isn't empty.
DELETE /v1/workspaces/{workspaceID}/accounts/{accountID}/permanent returns
the same 409 CATEGORY_HAS_BALANCE for a credit card or loan whose payment
category (paymentCategoryId on the account) still holds money.
When either delete succeeds, the deleted record's ledger account is kept and
archived (archivedAt is set) if any journal line posts to it, so journal
entries keep balancing and every line still points at a ledger account. A
ledger account nothing ever posted to is deleted as before.
GET /v1/workspaces/{workspaceID}/ledger-accounts leaves archived ledger
accounts out; pass include_archived=true to list them too.
GET /v1/workspaces/{workspaceID}/ledger-accounts/{ledgerAccountID} and
GET /v1/workspaces/{workspaceID}/journal-entries/{journalEntryID} keep
returning them. A manual journal entry can't post to an archived ledger
account.
System-generated names and memos
Text the system writes itself is returned as structured data so your client can
localize it. A bill that Debt Center manages for a debt carries nameKey (for
example systemText.bill.debtPayment) and nameParams (for example
accountName); bill occurrences carry billNameKey and billNameParams. A
category transfer written by Debt Paydown funding carries memoKey and
memoParams in the same way. When a key is present, render it with its params;
the plain name or memo is only an English fallback. When the key is absent
the text was entered by a person and should be shown exactly as it is. Existing
memos are never rewritten.
Bill payments
A bill is an expectation and a payment is a transaction. Two operations on a bill occurrence connect them.
POST /api/v1/workspaces/{workspaceID}/bill-occurrences/{occurrenceID}/payments
links a transaction you already have (an expense that is not yet matched to any
occurrence). POST /api/v1/workspaces/{workspaceID}/bill-occurrences/{occurrenceID}/record-payment
does the whole job in one atomic request: it creates the payment's transaction
and links it to the occurrence, so a failure leaves neither behind. Use it
for a "Mark as paid" action.
curl -X POST https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty/bill-occurrences/bocc_5Hn8Qc2Wd7Yt3Mx9Vr4Ke/record-payment \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: mark-paid-bocc_5Hn8Qc2Wd7Yt3Mx9Vr4Ke-1" \
-d '{
"accountId": "acct_8Vb2Nq6Xz1Wm4Kd7Rj9Lt",
"amount": 17500,
"transactionDate": "2026-11-03"
}'
| Field | Notes |
|---|---|
accountId | Required. The account the money leaves. |
amount | Required. A positive amount in the workspace's minor unit. |
transactionDate | Required. YYYY-MM-DD. |
memo, payeeId, categoryId | Optional. The payee and category default to the bill's own. |
completesOccurrence | Optional. Whether this payment settles the occurrence. When omitted it is true if amount is at least what is still unpaid on the occurrence (its expected amount less earlier payments), so a smaller amount leaves the occurrence partial. |
The response is the updated bill occurrence, exactly as the occurrence endpoints
return it, plus transactionId, the transaction that was created. It is 201
when the payment was created. The request honors the Idempotency-Key header:
a retry with the same key and body creates nothing and returns the original
result with 200, even though the occurrence is now paid; the same key with a
different body is IDEMPOTENCY_KEY_CONFLICT.
An ordinary bill is paid by an expense with a single split, linked with a
manual match to the occurrence you named.
A bill that Debt Center generates for a debt is paid by a transfer from
accountId into the debt's liability account. It is matched to the occurrence
immediately, with source debt_management, by the same rule Debt Center
applies to any payment of that debt: the money settles the oldest unpaid
occurrence, and settles it when amount covers what remains. For these bills
categoryId and completesOccurrence are ignored, and recording a payment
against any occurrence other than the oldest unpaid one is refused (below).
The funding account cannot be the liability itself.
| Status | Code | When |
|---|---|---|
402 | PLAN_FEATURE_REQUIRED | The workspace owner's plan does not include bills. |
403 | FORBIDDEN | The caller's role cannot edit data. |
404 | BILL_OCCURRENCE_NOT_FOUND | No such occurrence in this workspace. |
409 | BILL_OCCURRENCE_SKIPPED | The occurrence was skipped, so nothing is owed. |
409 | BILL_OCCURRENCE_ALREADY_PAID | The occurrence is already paid in full. |
409 | BILL_PAYMENT_APPLIES_TO_EARLIER_OCCURRENCE | Debt bills only. details.earlierBillOccurrenceID is the older unpaid occurrence the payment would settle; nothing was created. |
409 | BILL_SYSTEM_MANAGED | The bill is system-managed but no active debt supplies it, so there is nothing to pay it through. |
409 | IDEMPOTENCY_KEY_CONFLICT | The key was already used for a different request. |
422 | VALIDATION_FAILED | A value was rejected, for example an unknown or archived account, or a payment date more than 31 days before a debt occurrence's due date. |
A token needs both bills:write and transactions:write for this
operation, because it creates a transaction.
Undoing a payment
DELETE /api/v1/workspaces/{workspaceID}/bill-payment-matches/{matchID} removes
the link and leaves the transaction in place, and the occurrence goes back to
due or partly paid. This only applies to manual matches. A match whose
source is debt_management is owned by Debt Center, which would simply make
it again the next time the payment is reconciled, so the request is refused with
409 BILL_PAYMENT_MATCH_AUTOMATIC; details.transactionId names the payment
to edit or delete instead. Deleting the transaction removes its match and
reopens the occurrence.
Credit card payments without a bill
A card only has bill occurrences when Debt Center manages a bill for it, which needs a payment due day. To show every card payment in a bill history, read the payments no occurrence accounts for alongside the occurrences:
GET /api/v1/workspaces/{workspaceID}/bill-card-payments?from=YYYY-MM-DD&to=YYYY-MM-DD
{
"payments": [
{
"transactionId": "txn_7Qp2Lm9Xc4Vb8Nr1Ks6Wd",
"transactionDate": "2026-11-03",
"amount": {"minor": 25000, "display": "$250.00"},
"cardAccountId": "acct_2Jd8Rf5Tq1Wz7Ym3Hc9Lv",
"cardAccountName": "Visa",
"fromAccountId": "acct_9Kx4Nb2Pw6Ts1Qe8Mf3Gu",
"fromAccountName": "Everyday Checking"
}
]
}
- A credit card payment is a
transferof a positive amount into acredit_cardaccount from an account that can pay it. A balance moved between two cards is not one, and neither is a payment into a loan. - A payment matched to a bill occurrence, including one Debt Center matched
automatically (
sourcedebt_management), is left out when the occurrence listing for the samefromandtoreturns that occurrence. Otherwise it is listed: for example a payment made early for a due date afterto, or one whose due date falls beforefrom. Listing both endpoints over the same range therefore shows each payment exactly once. fromandtoare inclusive payment dates, with the same maximum range as the occurrence listing. Payments dated after today are never listed.- Results are newest first. A token needs both
bills:readandtransactions:read.
Account types and transfers
Account types and the rules that go with them come from the server. Read them rather than hardcoding a list of types or a table of transfer rules in your client.
GET /v1/account-types is public and needs no authentication. It returns:
groups— the display groups (key,nameEnglish,sortOrder) used to organize an account type picker;accountTypes— every account type, with itskey,nameEnglish,groupKey,financialClass(assetorliability),debtKind(revolving_credit,loan, or empty for asset types), whether a direct transaction needs a category (directTransaction.categoryPolicy), and itscapabilities;transferPolicies— one row for every source and destination type pair.
Today there are eight types: checking, savings, credit_card, cash,
digital_wallet, asset, liability and investment. Treat the list as open;
more types can be added.
Whether a transfer needs a category depends on both accounts, not on the
destination alone. Each transferPolicies row answers three separate
questions:
| Field | Values | Meaning |
|---|---|---|
operationKind | transfer, payment | What the movement is. Use it for wording, such as "Make payment". |
categoryPolicy | required, optional, forbidden | Whether the transfer must, may or must not carry a category. A plain transfer can still require one. |
defaultCategoryStrategy | none, destination_payment_category | Whether the server fills in a required category you leave out. |
For two real accounts, call
GET /v1/workspaces/{workspaceID}/transfer-policy?sourceAccountId=...&destinationAccountId=...
(scope accounts:read). It returns the same three fields for that pair, plus
defaultCategory (id, name, systemType) when the strategy is
destination_payment_category. That is the credit card's own payment
category. defaultCategory is absent when the strategy is none.
In practice:
- A payment from a checking, savings, cash, digital wallet, asset or investment account into a credit card can leave out the category. The server applies the card's payment category.
- A transfer between two credit cards, or between two
liabilityaccounts, moves debt without spending budgeted money, so it must not carry a category. - A transfer between a credit card and a
liabilityaccount, a payment into aliabilityaccount, and a cash advance or loan drawdown into an asset account all require a category you choose. The server never picks one for you.
For illustration, the pairs resolve like this today. "Cash-like" means
checking, savings, cash, digital_wallet, asset or investment. The
table can change as account types are added, so read transferPolicies
instead of copying it.
| From | To | operationKind | categoryPolicy | defaultCategoryStrategy |
|---|---|---|---|---|
| Cash-like | Cash-like | transfer | forbidden | none |
| Cash-like | credit_card | payment | required | destination_payment_category |
| Cash-like | liability | payment | required | none |
credit_card | credit_card | transfer | forbidden | none |
liability | liability | transfer | forbidden | none |
credit_card | liability | transfer | required | none |
liability | credit_card | transfer | required | none |
credit_card or liability | Cash-like | transfer | required | none |
A transfer carries its category as a single entry in splits, for the full
transfer amount. convert-to-transfer is the exception: it takes the category
as categoryId instead of splits. Creating, converting and editing a
transfer all follow the same rules:
- A transfer that leaves out a required category is rejected with
422and the codeTRANSFER_CATEGORY_REQUIRED. - A category on a transfer whose policy is
forbiddenis rejected with422VALIDATION_FAILEDand adetailkey oferrors.api.categoriesAreOnlyAllowedOnTransfersWhoseDestinationRequiresOne.detail. - When the strategy is
destination_payment_category, any category other than the credit card's own payment category is rejected with422and the codeLIABILITY_PAYMENT_PROFILE_INVALID.
Credit card payment categories cannot be chosen
The Credit Card Payments group and the per-card payment categories under it
(systemType credit_card_payments and credit_card_payment) are managed by
Budget Thing. It posts to them itself when a card is used, refunded or paid, so
a card's reserve always matches what the card still owes for budgeted spending.
A transaction split that names one of these categories is rejected with 422,
code VALIDATION_FAILED and a detail key of
errors.api.splitCannotUseACreditCardPaymentCategory.detail, with the split's
position in translationParams.index. This applies to POST /transactions and
PATCH /transactions/{id} for every kind that carries a category, including
transfers, and to convert-to-transfer. The one exception is a card payment,
where the server fills in the card's own payment category for you (see above).
Editing a transaction without changing its splits, amount or accounts is never
affected.
Every account response also carries actions, a list in which exactly one
entry has isDefault: true. Its kind (transfer or payment) is the main
action to offer while viewing that account. It only chooses where to start. Once
both accounts are known, the pair's transfer policy decides. For example, a
credit card's default action is payment, but choosing another credit card as
the destination makes the movement a transfer with no category.
A workspace's plan
A workspace's features and limits always come from its owner's plan, not from the plan of the user making the request. A member on the Free plan working in a Plus owner's workspace gets Plus there. A member on Plus working in a Free owner's workspace gets Free there.
Workspace responses (GET, POST and PATCH on /v1/workspaces, and archive
and delete) include a subscription object describing what that workspace can
do:
{
"id": "wks_01JEXAMPLE",
"name": "Family",
"subscription": {
"planId": "plan_personal",
"planName": "Plus",
"features": { "bank_sync.managed": true, "transaction_rules.advanced": true },
"limits": { "workspaces.max": 25, "account_shares.max": 3 },
"unlimitedLimitValue": -1,
"bankSyncProviders": ["simplefin", "plaid"]
}
}
features uses the same keys as GET /v1/plan/features. A limit equal to
unlimitedLimitValue means there is no limit. account_shares.max is the most
unique people the owner can share with across all the workspaces they own, and
0 means sharing is not available. There is no per-workspace member limit, so
workspace_members.max is no longer returned. The object contains no billing
details about the owner. subscription may be left out of a response. When it
is, treat the plan as unknown rather than as Free.
Sharing usage
GET /v1/plan/sharing returns how many unique people the signed-in user shares
with against their plan's cap:
{ "planId": "plan_personal", "planName": "Plus", "used": 2, "limit": 3 }
used counts each person once across every non-deleted workspace the user owns,
and never the user. Members count by user. A pending invitation counts by its
normalized (lower-cased, trimmed) email address, so the same address invited to
several workspaces counts once, and an address that equals a counted member's
email, or the owner's own, adds nothing. An invitation that has lapsed does not
count, even before the background job marks it expired. A limit of 0 means
sharing is unavailable, and -1 means unlimited. Personal access tokens cannot
call this endpoint.
Inviting or adding someone new when used has reached limit fails with 402
and code PLAN_LIMIT_EXCEEDED; the limit_key entry is account_shares.max. Adding a person
who already counts, to another workspace, is never blocked by the cap.
Use subscription to decide what to show. It is never accepted as input, and
every request is checked against the owner's plan on the server. A plan only
unlocks a feature. It never adds to what the caller's workspace role allows,
and both checks must pass.
Workspace invitations
You invite a person by email address; they do not need an account. An
invitation is not a membership: it grants nothing until the person accepts, and
no permission check ever reads it. Accepting creates the membership with the
same ID as the invitation (mbr_...).
These operations are for signed-in people only. Personal access tokens cannot call any of them, in the same way they cannot manage members.
| Operation | Who | What it does |
|---|---|---|
POST /v1/workspaces/{workspaceID}/invitations | The owner | Invites an address. Body: {"email": "...", "role": "editor"}. Returns 201 with the invitation. |
GET /v1/workspaces/{workspaceID}/invitations | The owner | Lists pending, unexpired invitations. |
POST /v1/workspaces/{workspaceID}/invitations/{invitationID}/resend | The owner | Gives a pending invitation a fresh 14 days and queues it again. |
DELETE /v1/workspaces/{workspaceID}/invitations/{invitationID} | The owner | Revokes a pending invitation. Returns 204. |
GET /v1/workspaces/{workspaceID}/members | Any member | Still lists pending invitations as entries with status invited, without userId. Each member carries displayName, the name they set for themselves (trimmed, the same rule as createdBy.displayName on transactions); it is left out when they haven't set one, never replaced by the email address, and always absent on pending invitations. Names are only listed to members of the workspace. Add and role-change responses don't include it. |
GET /v1/invitations | The invitee | Lists pending, unexpired invitations for the caller's verified email. |
GET /v1/invitations/{invitationID} | The invitee | Returns one invitation, for an invitation screen. |
POST /v1/invitations/{invitationID}/accept | The invitee | Accepts it and creates the membership. |
DELETE /v1/invitations/{invitationID} | The invitee | Declines it. Returns 204. |
Inviting
An invitation is open for 14 days. The response is the same 201 body
for every address, whether or not it has an account, and never contains a
userId:
{
"id": "mbr_8lYrhTtUcavDjqvnYHouGo",
"workspaceId": "wks_v6PnFMppKmcYQQ182rZ7iW",
"email": "partner@example.com",
"role": "editor",
"status": "invited",
"invitedByUserId": "usr_n2zTGXQKZNtFyWXRRGF38t",
"expiresAt": "2026-11-26T15:32:26Z",
"createdAt": "2026-11-12T15:32:26Z",
"lastSentAt": null,
"deliveryStatus": "queued"
}
email is the address as typed (trimmed). Matching ignores case and
surrounding spaces. lastSentAt is null until an invitation email has
actually been sent, and deliveryStatus is one of queued, sending, sent,
retrying, failed, not_configured or skipped. Emails are sent in the
background shortly after the invitation is created or resent, so a new invitation
is queued first. A failed send is retried with increasing delays (up to eight
attempts) and the status is retrying meanwhile; after the last attempt it is
failed, and the owner can resend. not_configured means the deployment has no
outgoing email. A resend queues the email again, and lastSentAt only changes
when an email is actually sent. Invitations that existed
before this change, and were carried over, are skipped: no email goes out
until the owner resends.
Breaking change for clients of the previous contract. The invite response,
the entries from GET /v1/workspaces/{workspaceID}/invitations, and invited
entries in the members list no longer have userId. The invite endpoint no
longer looks the address up in the user table, so it no longer returns
404 (NOT_FOUND) with the detail key
errors.api.noUserFoundWithThatEmailAddress.detail; that error is removed. A client
that used it to detect "this person has no account" must not: the point is that
the API no longer tells you.
An invite is refused with 409 (CONFLICT) when that address already has a
pending invitation to the workspace, or when it is the email of one of the
workspace's active members. The address of an invitation that has lapsed can be
invited again straight away. A new person over the owner's sharing cap gets
402 PLAN_LIMIT_EXCEEDED, as in sharing usage.
Resending and revoking take the invitation ID. Resending is refused with
429 INVITATION_RESEND_TOO_SOON when the invitation was sent or resent less
than 10 minutes ago, with 410 INVITATION_EXPIRED once it has lapsed (invite
again instead), and with 409 when it is no longer pending. Resending sends no
webhook event.
Sending is rate limited, per signed-in inviter (20 invites or resends an hour)
and per recipient address (5 a day across all workspaces and inviters). Over
either, the request fails with 429 INVITATION_RATE_LIMITED. The code is the
same for both, so it does not reveal anything about an address.
Archiving or deleting a workspace revokes its pending invitations.
Who can see and answer an invitation
An invitation belongs to whoever has a verified email equal to the invited
address, ignoring case. The API keeps each user's email and emailVerified
flag in step with their sign-in session on every session request, and matches
against that, so a person who signs up with the invited address finds the
invitation on their first request. Because the flag is only updated from a
browser session, a person who has only ever used a personal access token has
not had it set and sees an empty GET /v1/invitations until they have signed in
once.
GET /v1/invitationsreturns[]when the caller's email is unverified.GET /v1/invitations/{invitationID}returns the invitation only when it is pending and matches. A lapsed invitation that matches is410 INVITATION_EXPIRED. Anything else, including an invitation that was revoked, accepted, declined, or belongs to a different address, is404(NOT_FOUND) with the detail keyerrors.api.invitationNotFound.detail, so a different account cannot tell "revoked" from "not yours".- Accepting needs a signed-in session whose email is verified. An unverified
holder of the invited address gets
403(FORBIDDEN) with the detail keyerrors.api.verifiedEmailRequiredToAcceptInvitation.detail. A different address gets404. The share cap is checked again, leaving this invitation out. If the person is already a member, the invitation is closed and the call returns409(CONFLICT) with the detail keyerrors.api.userIsAlreadyAMember.detail. - Declining follows the same rules as getting.
Webhooks
An invitation is announced with the same member.* events as before, so
consumers keep working: member.added when it is sent, member.updated (same
member.id, changes.status invited to active) when it is accepted, and
member.removed (status invited) when it is revoked, declined or lapses. The
payloads of an invitation carry no user_id. See
Webhook events.
Workspace ownership transfers
An owner can hand a workspace to another active member. Nothing changes until that member accepts, and a request lapses after 7 days. A workspace has at most one pending transfer.
These operations are for signed-in people only. Personal access tokens cannot call any of them, in the same way they cannot manage members.
| Operation | Who | What it does |
|---|---|---|
POST /v1/workspaces/{workspaceID}/ownership-transfers | The owner | Asks a member to take over. Body: {"toUserId": "usr_..."}. Returns 201 with the transfer. |
GET /v1/workspaces/{workspaceID}/ownership-transfers/eligibility?toUserId= | The owner | Dry run for a member picker. Changes nothing. Returns the eligibility object described below. |
GET /v1/workspaces/{workspaceID}/ownership-transfers/pending | Any member | Returns the pending transfer, or 404 when there is none. |
DELETE /v1/workspaces/{workspaceID}/ownership-transfers/{transferID} | The owner | Cancels a pending transfer. Returns 204. |
GET /v1/me/ownership-transfers | The recipient | Lists transfers waiting for the signed-in user, each with the recipient's current eligibility. |
POST /v1/me/ownership-transfers/{transferID}/accept | The named recipient | Accepts the transfer. |
POST /v1/me/ownership-transfers/{transferID}/decline | The named recipient | Declines the transfer. Returns 204. |
Only the owner starts or cancels a transfer: another member gets 403
(FORBIDDEN), and someone who is not a member gets 404. Only the named
recipient can accept or decline. Everyone else, including admins and the
previous owner, gets 404 so the transfer's existence is not revealed.
The recipient must be another active member (not a pending invitation). The
workspace must not be archived (OWNERSHIP_TRANSFER_WORKSPACE_ARCHIVED; unarchive
it first), deleted, or still being cloned (OWNERSHIP_TRANSFER_WORKSPACE_UNAVAILABLE).
The transfer object
{
"id": "wot_7Hq2...",
"workspaceId": "wks_...",
"workspaceName": "Family",
"fromUserId": "usr_...",
"fromName": "Ada",
"fromEmail": "ada@example.com",
"toUserId": "usr_...",
"toName": "Grace",
"toEmail": "grace@example.com",
"status": "pending",
"expiresAt": "2026-11-18T12:00:00Z",
"createdAt": "2026-11-11T12:00:00Z"
}
status is pending, accepted, declined, canceled or expired. A
resolved transfer also has resolvedAt, and a canceled one has cancelReason:
owner_canceled, workspace_deleted (the workspace was deleted or archived),
recipient_left (the recipient left or was removed), owner_changed or
account_deleted. Accept returns the same object with disconnectedConnections,
the number of the previous owner's bank connections that were disconnected.
A request that has passed expiresAt can no longer be accepted or declined,
and is no longer returned as pending, even before it is marked expired.
Plan checks
A transfer must not push the recipient over a limit on their plan, because that would put their whole account into read-only mode. The check runs the same plan limits the rest of the API uses, as if the transfer had already happened: the recipient's workspace count, their business workspace count when the workspace is a business workspace, the number of unique people they share with (a person already shared with elsewhere counts once), whether their plan includes sharing, bank connections that stay connected (the previous owner's are disconnected, so they do not count), and per-workspace limits such as attachment storage.
A limit the recipient is already over (an account that predates a cap) is not a reason to refuse, but the transfer cannot add to it.
{
"blocked": true,
"recipientName": "Grace",
"reasons": [
{"limitKey": "account_shares", "limit": 5, "usageAfter": 6}
],
"suggestedPlanId": "plan_household"
}
reasons[].limitKey is the same stable key the plan limits use
(workspaces, business_workspaces, account_shares, workspace_sharing, bank_connections_simplefin,
bank_connections_managed, attachment_storage_bytes and so on). limit is
left out when the feature is simply not on the plan. suggestedPlanId is the
lowest paid plan above the recipient's current one that would fit, and is left
out when none would, so the client should say to pick someone else. The object
contains nothing about the recipient beyond their display name.
Creating a transfer, and accepting one, are refused with 422 and the code
OWNERSHIP_TRANSFER_BLOCKED when the check fails. The eligibility object is
returned as details. The check runs again when the recipient accepts, because
their plan or usage may have changed; a refused accept leaves the transfer
pending so they can upgrade and try again.
What accepting does
Accepting is one all-or-nothing step: the recipient becomes the owner, the previous owner is removed from the workspace, and the bank connections the previous owner created in this workspace (SimpleFIN and Plaid) are disconnected. Imported transactions and the ledger stay exactly as they are. The new owner has to reconnect the banks. Connections created by other members are not touched. Access to the bank provider is revoked afterwards and retried until it succeeds. The workspace then uses the new owner's plan.
The previous owner is emailed when the recipient accepts, declines, or does not answer in time. The recipient is emailed when asked.
A pending transfer is canceled automatically when the workspace is deleted or archived, when the recipient leaves or is removed, or when either person's account deletion is requested.
Errors
| Status | Code | When |
|---|---|---|
404 | OWNERSHIP_TRANSFER_NOT_FOUND | No such transfer, or you are not a party to it. |
403 | FORBIDDEN | A member who is not the owner tried to start or cancel a transfer. |
409 | OWNERSHIP_TRANSFER_ALREADY_PENDING | The workspace already has a pending transfer. |
409 | OWNERSHIP_TRANSFER_NOT_PENDING | The transfer was already accepted, declined, canceled or expired. |
409 | OWNERSHIP_TRANSFER_EXPIRED | The 7 days have passed. |
409 | OWNERSHIP_TRANSFER_WORKSPACE_ARCHIVED | The workspace is archived. |
409 | OWNERSHIP_TRANSFER_WORKSPACE_UNAVAILABLE | The workspace is being cloned. |
422 | OWNERSHIP_TRANSFER_RECIPIENT_NOT_ELIGIBLE | The recipient is the owner, not a member, or only invited. |
422 | OWNERSHIP_TRANSFER_BLOCKED | The recipient's plan cannot take the workspace. details is the eligibility object. |
Account deletion and shared workspaces
GET /v1/me/deletion-preview lists each owned workspace that has other active
members with action: "transfer_or_delete", its workspaceId, and a
pendingTransfer (id, recipientName, expiresAt) while a transfer is
waiting. ownershipBlocked is still returned for existing clients and is
true for the same workspaces. Deleting the account stays blocked until each of
them is deleted for everyone or no longer owned by the account. A pending transfer
does not count as resolved. Workspaces already deleted no longer count at all.
The blocking condition is ownership_transfer_pending while a transfer is waiting
and owned_workspace_has_other_members otherwise.
The signed-in user's start page
A user's start page is where the app opens at its root or after a sign-in with no
destination. It is stored on the account, so it follows the user to every device.
These operations are for the signed-in session only: a personal access token is
refused (403), and none of them take a user ID.
| Operation | What it does |
|---|---|
GET /v1/me/start-page | Returns the saved choice and whether it can still be opened. |
PUT /v1/me/start-page | Replaces the choice. Returns the same object as GET. |
PUT /v1/me/last-workspace | Body {"workspaceId": "wks_..."}. Records the workspace the user just opened, for last_workspace. Returns 204. |
The object has mode (picker, the default; last_workspace; or workspace),
workspaceId and workspaceName, target (home, section or account),
section, accountId, accountName and status.
PUT /v1/me/start-page takes mode and, for workspace, a workspaceId the
user can open now, plus target: home (the default), section with section
set to a workspace navigation key such as transactions, or account with an
accountId of an open account in that workspace. Fields that don't apply to the
mode or target must be left out. A workspace or account the user can't open, or
that doesn't exist, returns 422 (startPageUnavailable); a malformed choice
returns 422 (invalidStartPage). The API checks only the shape of section:
which sections a workspace offers is decided by the app from the workspace's
type, and an unknown section opens the workspace home.
A saved choice can go stale, and GET never fails for that. status is
available, workspaceUnavailable (deleted, archived or access lost; the name
is null) or accountUnavailable (the workspace is open but the account is
gone; accountName is null). With last_workspace, workspaceId is the last
workspace recorded, or null before any.
The signed-in user's profile
GET /v1/me returns the profile of the signed-in user, and PATCH /v1/me
updates the parts you can change: displayName, productEmailsEnabled,
productEmailsPromptDismissed and notificationPreferences.
GET /v1/me also returns productEmailsPromptDismissedAt (a timestamp or
null): when the user dismissed the in-app prompt that offers product emails.
Send productEmailsPromptDismissed: true to record it. It is set once, a second
call keeps the original time, and it can't be cleared: false returns 422.
Dismissing the prompt is not consent; productEmailsEnabled stays false.
Notification preferences
notificationPreferences is an object of booleans keyed by notification type.
GET /v1/me always returns every type with its effective value, and
PATCH /v1/me changes only the types you send; an unknown type returns 422
with unknownNotificationType, and nothing in that request is saved.
| Type | Default | Emails it controls |
|---|---|---|
bank_sync_reminders | on | Reminders before a Plaid bank connection's consent expires. |
bill_reminders | off | A reminder before an open bill's due date and one on the due date. |
billReminderLeadDays is how many days before the due date the first bill
reminder is sent, from 1 to 7 (3 until the user chooses). PATCH /v1/me
accepts it on its own or together with notificationPreferences; a value
outside 1 to 7 returns 422 with invalidBillReminderLeadDays. It is stored
even while bill_reminders is false and has no effect until the type is
turned on. Bill reminders cover the workspaces the user is an active member of
(any role) whose plan includes bills, are sent from 7:00 in the workspace's time
zone, and are sent once per bill payment and lead time: nothing is sent for a
paid, skipped or past-due payment or an archived bill.
Unsubscribing from a notification email
Each bill reminder email carries the RFC 8058 headers List-Unsubscribe and
List-Unsubscribe-Post: List-Unsubscribe=One-Click and a visible link, both
holding a signed token scoped to one user and one notification type (here
bill_reminders). POST /v1/email/notifications/unsubscribe?token=<token>
(unsubscribe-notification-emails) turns that one type off for that user, the
same as setting it to false in notificationPreferences on PATCH /v1/me.
- It is public: the signed token is the credential, and no bearer token is taken. It is rate limited per client address like other unauthenticated routes.
- A token is valid for its user and type only. It can't switch off another type or another user's setting, and a product-email token isn't accepted here. Tokens don't expire, so the link in an old email keeps working.
- A mail client's one-click body is accepted and ignored; any body works.
- It is idempotent. A valid token returns
200with{"status":"unsubscribed","type":"bill_reminders"}even when the type is already off or the user has been deleted. A malformed or forged token returns400. - There is no
GET. Mail scanners fetch links, so only thePOSTchanges anything. - A deployment without an unsubscribe secret sends the reminder without the link and headers.
Unsubscribing from product emails
Every product (marketing) email carries the RFC 8058 headers List-Unsubscribe
and List-Unsubscribe-Post: List-Unsubscribe=One-Click, plus a visible
unsubscribe link, both holding a signed token that identifies the user.
POST /v1/email/unsubscribe?token=<token> (unsubscribe-product-emails)
turns the user's productEmailsEnabled off, the same as the settings switch
(productEmailsOptedOutAt is set and the change is recorded in the audit log
with the source email_link).
- It is public: the signed token is the credential, and no bearer token is taken. It is rate limited per client address like other unauthenticated routes.
- A mail client's one-click body (
List-Unsubscribe=One-Click) is accepted and ignored; any body works. - It is idempotent. A valid token returns
200with{"status":"unsubscribed"}even when the user is already unsubscribed or has been deleted. A malformed or forged token returns400. - There is no
GET. Mail scanners fetch links, so only thePOSTchanges anything.
A hard bounce or a spam complaint about a product email, reported through
POST /v1/email-reports (see Document emails),
also turns the user's productEmailsEnabled off.
The email address is read-only
A user's email is the address they sign in with. It comes from their sign-in
identity and is refreshed from it, so it can't be set through the API.
PATCH /v1/mewith anemailthat differs from the current address returns422with the codeEMAIL_MANAGED_BY_IDENTITY. Nothing in the request is applied. Capitals and surrounding spaces don't count as a difference.- Sending back the address the profile already has is accepted and changes nothing, so a client can safely send the whole profile it just read.
- An empty
emailis still rejected as a validation error.
Each address belongs to one account. Matching on an address (for example, which invitations a user sees) ignores capitals and surrounding spaces. In the rare case that two sign-in identities report the same address, the account that already held it keeps it and the other account matches nothing by email until support resolves it. Both can still sign in.