Skip to main content
GET
Get an account

Authorizations

Authorization
string
header
required

A workspace API key created in ThinkOut settings. One key reads one workspace.

Path Parameters

id
string<uuid>
required

Query Parameters

as_of
string<date>

Compute balances at the end of this day. Defaults to today: the UTC day on /accounts/{id}, the workspace's local day on /balances. A future date is rejected with as_of_in_future.

expand
enum<string>[]

Relations to return as objects instead of ids. Comma-separated. Expansion goes one level deep; an unknown name is rejected with invalid_expand.

Available options:
bank

Response

The account.

object
string
required
Allowed value: "account"
id
string<uuid>
required
name
string
required
Example:

"ING Curent"

currency
string
required

ISO 4217 alphabetic currency code.

Pattern: ^[A-Z]{3}$
Example:

"RON"

group
string | null
required

Free-text grouping assigned in ThinkOut.

Example:

"Operational"

source
enum<string>
required

delegated accounts are bank accounts another workspace has delegated to this one.

Available options:
manual,
bank,
delegated
balance
string
required

Decimal amount as a string with two decimals. Negative means an outflow on transactions, forecasts and report figures.

Pattern: ^-?[0-9]+\.[0-9]{2}$
Example:

"-1250.00"

balance_as_of
string<date>
required

The day whose end-of-day balance is reported.

opening_balance
string
required

Decimal amount as a string with two decimals. Negative means an outflow on transactions, forecasts and report figures.

Pattern: ^-?[0-9]+\.[0-9]{2}$
Example:

"-1250.00"

opening_date
string<date>
required

The date the opening balance applies to.

bank
required

A bank connection id, the full connection when named in expand, or null for a manual account. On a delegated account the connection belongs to another workspace, so the id is returned but is neither expanded nor readable.

external_account_id
string | null
required

The account identifier at the provider. null for manual accounts.

original_name
string | null
required

The account name as the bank reports it, before any rename in ThinkOut. null for manual accounts.

created_at
string<date-time>
required
updated_at
string<date-time>
required