latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-1715378564.1 KB

274a178284a4

Account

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.

get/account/get-account-details

Response

Account details retrieved successfully.

userIdstring

Unique user ID.

emailstring email
firstNamestring
lastNamestring
phonestring nullable
picturestring

URL of the user's avatar image.

hasOnboardedboolean

Whether the user has completed initial onboarding.

Example response

{
  "userId": "69561896a37fd214b9a8d33a",
  "email": "user@example.com",
  "firstName": "Ada",
  "lastName": "Lovelace"
}