/cdrs/stats. Ranks the busiest domains (by=domain, default) or resellers/territories (by=reseller) by total call count over a window, sourced from the same CDR tables. Scope is derived from the bearer token: a Super User sees system-wide totals (and may narrow with reseller or domain), while a reseller-scoped token is restricted to its own territory automatically. Same range / start_date+end_date / type semantics as /cdrs/stats.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/cdrs/top?by=undefined&limit=undefined&range=undefined&start_date=undefined&end_date=undefined&type=undefined&reseller=undefined' \
--header 'Authorization: Bearer <token>'{
"scope": "string",
"reseller": "string",
"domain": "string",
"by": "domain",
"range": "string",
"start": 0,
"end": 0,
"limit": 0,
"count": 0,
"results": [
{
"domain": "string",
"reseller": "string",
"calls": 0,
"minutes": 0,
"seconds": 0
}
]
}