Budget Thing API
The Budget Thing API is an HTTP API that returns JSON. Every operation is
served under the /api prefix, and every operation path is versioned, so a
full path looks like /api/v1/workspaces.
You authenticate with a personal access token that you create yourself. There is no separate client registration step and no OAuth flow to complete before you can call the API.
Base URL
| Environment | Base URL |
|---|---|
| Production | https://api.budgetthing.com/api |
The base URL already contains the /api prefix, so append the version and the
path directly: https://api.budgetthing.com/api/v1/workspaces.
Versioning
Versioning is done in the path. Every operation registered today sits under
/v1, and the version segment is part of the operation path rather than a
header or a query parameter. There is no Accept header negotiation and no
date-based version pinning.
The OpenAPI document carries its own document version (1.0), which
describes the document, not the URL version.
The OpenAPI document
The API publishes a complete OpenAPI description of every operation:
| Document | Path |
|---|---|
| OpenAPI (JSON) | /api/openapi.json |
| OpenAPI (YAML) | /api/openapi.yaml |
| Browsable reference | /api/docs |
Download it with:
curl https://api.budgetthing.com/api/openapi.json -o budgetthing-openapi.json
The document declares /api as its server URL, so paths inside it are written
without the prefix. It also declares the personalAccessToken security scheme,
described as an HTTP bearer scheme whose bearer format is
bt_pat_<token-id>_<secret>.
Your first request
Create a token first — see
Personal Access Tokens — and give it the
workspaces:read scope. Creating a token needs a sign-in from the last 15
minutes; if you get RECENT_AUTHENTICATION_REQUIRED, sign in again and retry.
Then list the workspaces the token's owner belongs to:
curl https://api.budgetthing.com/api/v1/workspaces \
-H "Authorization: Bearer $BUDGETTHING_TOKEN"
A successful response is 200 OK:
{
"workspaces": [
{
"id": "wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty",
"name": "Household",
"baseCurrency": "USD",
"currencySymbol": "$",
"symbolPosition": "before",
"currencyPrecision": 2,
"decimalSeparator": ".",
"groupSeparator": ",",
"dateFormat": "MM/DD/YYYY",
"timeZone": "America/Chicago",
"periodWord": { "choice": "pay_period" },
"kind": "personal",
"ownerUserId": "usr_7Hn4Wc2Qd8Rk1Ub5Jm3Zx",
"settings": {},
"createdAt": "2026-01-14T09:22:41Z",
"updatedAt": "2026-02-03T17:05:12Z",
"relationship": "owner"
}
]
}
kind is personal or business; see Workspace Kinds
and, for a business workspace's profile and numbering,
Business Profile and Document Numbering.
periodWord is the word the app uses for one budget period. It is display-only
and shared by everyone in the workspace. choice is one of pay_period
(the default), paycheck, payday, income_period, period or custom. With
custom, custom holds the word the person typed, returned exactly as typed.
Change it with PATCH /api/v1/workspaces/{workspaceID} (owner or admin):
curl -X PATCH https://api.budgetthing.com/api/v1/workspaces/wks_3fQ0mZk8Xr2Lp9Va6Ne1Ty \
-H "Authorization: Bearer $BUDGETTHING_TOKEN" \
-H "Content-Type: application/json" \
-d '{"periodWord": {"choice": "custom", "custom": "Zahltag", "customPlural": "Zahltage"}}'
custom is required with custom and rejected with any other choice. The
optional customPlural is the English plural of the word, used only in English
sentences; it follows the same rules, is allowed only with custom, and is
empty when the app should build the plural itself. custom is
trimmed, must be one or two words of letters (any alphabet), hyphens and
apostrophes, and may be at most 16 visible characters. Anything else returns
422.
Most other operations are scoped to one workspace and take its ID in the path,
for example /api/v1/workspaces/{workspaceID}/transactions. Keep the id you
get back from this call.
Where to go next
- Authentication — the exact header, and the other schemes the API accepts.
- Personal Access Tokens — creating, storing and revoking tokens.
- Scopes — what each permission allows.
- Making Requests — pagination, filtering and idempotency.
- Errors — the response shape you get when something fails.
- Limits — rate limits and payload ceilings.
- Webhooks — signed, real-time event deliveries to your own endpoint, so you do not have to poll.