Account

Get Account

Get the authenticated user's account information including role, tier, and company details.

SDK Usage:

const account = await client.getAccount();
get/api/user/account

Response

Account information

idstring uuid
emailstring email
firstNamestring
lastNamestring
rolestring
tierstring
statusstring
trialActiveboolean
companyIdstring

Example response

{
  "role": "admin",
  "tier": "pro",
  "status": "active"
}

Changes