Get account details
Returns the calling user’s profile (email, name, avatar) along with every organization the user belongs to. Use this to resolve the user’s active org list before switching context, or to render user info in a management UI.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Response
Account details retrieved successfully.
userId
Unique user ID.
email
firstName
lastName
phone
picture
URL of the user's avatar image.
hasOnboarded
Whether the user has completed initial onboarding.
organizations
Organizations the user is a member of. roleId is 0 for owner, 1 for member (and higher values for finer-grained roles).
Errors
401
Unauthorized Error

