Skip to content

Retrieve the authenticated account

GET
/api/v1/account
curl --request GET \
--url https://api.stocksmith.io/api/v1/account \
--header 'Authorization: Bearer <token>'

Account details

Media type application/json
object
account
required
object
id
required

Account ID

integer
name
required

Account name

string
currency_code
required

ISO 4217 currency code

string
time_zone
required

IANA time zone name

string
subscription_plan

Subscription plan name, or null if none

string
nullable
Example
{
"account": {
"currency_code": "USD",
"time_zone": "UTC"
}
}

Missing or invalid Bearer token

Media type application/json
object
error
required

Error message

string
Example generated
{
"error": "example"
}