Reports
Minutes by Organization
Returns voice minutes aggregated per organization, with a per-agent breakdown
GET
Overview
Returns voice minutes aggregated per organization for the requested date range, including a nested per-agent breakdown. If neitherorganization_ids nor reseller_ids is provided, all organizations the caller has access to are returned.
Query Parameters
Start of the date range in
YYYY-MM-DD format (e.g., 2026-04-01)End of the date range in
YYYY-MM-DD format (e.g., 2026-04-30)Optional filter by organization UUIDs. Provide either:
- A comma-separated list:
organization_ids=uuid1,uuid2 - Or repeated bracketed params:
organization_ids[]=uuid1&organization_ids[]=uuid2
Optional filter by reseller UUIDs. Same formats as
organization_ids. Combined with organization_ids, both filters are applied.When a caller has no resellers, when the
reseller_ids filter excludes all accessible resellers, or when no organizations match the filters, the endpoint returns 200 with an empty data array.Response Fields
data
Array of per-organization usage entries:
| Field | Type | Description |
|---|---|---|
organization_id | string (UUID) | Organization ID |
organization_name | string | Organization name (falls back to internal ID if unset) |
reseller_id | string (UUID) | Reseller that owns the organization |
reseller_name | string | Reseller name (falls back to internal ID if unset) |
total_voice_minutes | number | Total voice minutes for the organization in the range |
agent_count | number | Number of agents under this organization |
agents | array | Per-agent breakdown, sorted by voice_minutes descending |
agents[]
| Field | Type | Description |
|---|---|---|
agent_id | string (UUID) | Agent ID |
agent_name | string | Agent name (falls back to external_id or internal ID if unset) |
voice_minutes | number | Voice minutes for this agent in the range |
period
| Field | Type | Description |
|---|---|---|
start_date | string | Echoes the request’s start_date |
end_date | string | Echoes the request’s end_date |
