Skip to main content
POST
Switch to another of my accounts

Authorizations

Authorization
string
header
required

Session JWT (from register/login) or API key (pk_...). X-API-Key: <token> is accepted as an alternative header.

Body

application/json
account_id
string<uuid>
required

Response

Fresh session for the target account.

access_token
string
expires_at
string<date-time>
refresh_token
string
refresh_expires_at
string<date-time>
account_id
string<uuid>
member_id
string<uuid>
role
string