latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-192731541009.1 KB

ba3a29c6eb33

Account

Get account

Returns the companies available to the authenticated API key, the currently selected company, and a read-only summary of the key's own permissions.

get/account

Response

Account context returned

successboolean
currentCompanyIdstring nullable
messagestring

Example response

{
  "success": true,
  "user": {
    "id": "user_abc123"
  }
}