Appearance
GET/v1/reports/distribution/by-did
Distribution grouped by DID with nested calls
One object per DID bucket: aggregate KPIs for the full filter window, keyed by **did** (`group` / `name` from legacy grouped metrics). Bucket-level `queue_name` / `queue_number` are **null** (DID aggregates span queues). Nested **calls** are paginated globally across buckets (`page`, `per_page`, default 25, max 100). Each call row **includes** `queue_name` and `queue_number`. Call rows omit `recording` / `has_expired`. Time fields use **HH:MM:SS** strings. Empty **tags** is `{}`. Private upstream path: `/v1/reports/distribution/by-did`.
Parameters 9
| Name | Type | Description |
|---|---|---|
from_daterequired | query · string | Start date (DD-MM-YYYY). |
to_daterequired | query · string | End date (DD-MM-YYYY). |
from_time | query · string | Start time (HH-MM-SS). Defaults to start of day. |
Bearer token required
Response examples
200OK
{
"success_code": "OK",
"message": "OK",
"details": {},
"meta": {
"current_page": 0,
"per_page": 0,
"total": 0,
"last_page": 0,
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
}400Bad Request
{
"error_code": "VALIDATION_ERROR",
"message": "string",
"details": {}
}