GET /v1/account
Returns the profile of the authenticated account. The account is selected from the credential rather than a request parameter. A missing or deleted account is reported as an error instead of an empty profile.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
Returns
200 The authenticated account. Account
Headers: Photon-Version. The raw response carries these headers; see Raw responses.
Present only while a WorkOS dashboard admin is impersonating this account: the admin’s email. Attribution only; grants nothing.