Identity
Get Current Account
Retrieve the authenticated actor, token scopes, and account context.
GET
Returns the principal behind the bearer token: who the actor is, what the token can do, and which account context it operates in. The natural first call of any session — use it to confirm the token works and to discover your scopes before probing capabilities.
Requirements: any valid token — no specific scope.
Request
No parameters.Response
The user behind the token.
The authenticating token.
The account context requests operate in.
Errors
| Status | code | Meaning |
|---|---|---|
401 | UNAUTHORIZED | Missing, invalid, expired, or revoked token |
404 | NOT_FOUND | The token’s user no longer exists |