account:readmessage: "Usage statistics retrieved successfully".data object contains usage entries for each feature:| Feature | Description |
|---|---|
contacts | Total contacts in account |
conversations | Conversations (per month) |
campaigns | Active campaigns |
staff | Team members |
| Field | Type | Description |
|---|---|---|
current | integer | Current usage count |
limit | integer|null | Maximum allowed (-1 means unlimited, null if not configured) |
remaining | integer|null | Remaining quota |
percentage_used | float | Percentage of limit used (0-100, rounded to 2 decimals). Returns 0 for unlimited features |
is_unlimited | boolean | true if the feature has no limit (limit === -1) |
| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | Tenant not found |
| 500 | INTERNAL_ERROR | Failed to fetch usage statistics |
curl --location --request GET '/account/usage' \
--header 'Authorization: Bearer <token>'{}