account:readmessage: "Account information retrieved successfully".| Field | Type | Description |
|---|---|---|
id | integer | Tenant ID |
name | string | Company name (falls back to subdomain if not set) |
subdomain | string | Tenant subdomain |
status | string | Account status (default: active) |
created_at | string | ISO 8601 datetime of account creation |
| Field | Type | Description |
|---|---|---|
plan_name | string | Current plan name (default: Free if no active subscription) |
plan_id | integer|null | Plan ID |
status | string|null | Subscription status (e.g. active, expired, cancelled) |
expires_at | string|null | ISO 8601 datetime when the current billing period ends |
| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | Account not found |
| 500 | INTERNAL_ERROR | Failed to fetch account information |
curl --location --request GET '/account' \
--header 'Authorization: Bearer <token>'{}