range, which ends now and defaults to 24h, or with both start_date and end_date, which take precedence. datetime-start and datetime-end are accepted as the same pair. The bucket size follows the window unless you set period, and more than 5,000 buckets returns 400. Every bucket is returned, with 0 where there were no calls, and count_only=yes leaves out minutes and seconds for a faster answer.hide-from-results are not counted. Months moved to archive storage are skipped by default, so a window that reaches into them undercounts. Use GET /cdrs/stats for a territory or the whole platform, and GET /domains/{domain}/cdrs/count for one total.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//cdrs/stats?range=24h&start_date=2026-09-01T12%3A00%3A00+00%3A00&end_date=2026-09-01T14%3A30%3A00+00%3A00&period=hour&type=Inbound&count_only=yes' \
--header 'Authorization: Bearer <token>'start_date=2026-09-01T12:00:00+00:00&end_date=2026-09-01T14:30:00+00:00&period=hour.{
"domain": "example.com",
"period": "hour",
"start-datetime": "2026-09-01T12:00:00+00:00",
"end-datetime": "2026-09-01T14:00:00+00:00",
"data-points": [
{
"timestamp": 1788264000,
"datetime": "2026-09-01T12:00:00+00:00",
"calls": 42,
"minutes": 131,
"seconds": 7812
},
{
"timestamp": 1788267600,
"datetime": "2026-09-01T13:00:00+00:00",
"calls": 57,
"minutes": 190,
"seconds": 11378
},
{
"timestamp": 1788271200,
"datetime": "2026-09-01T14:00:00+00:00",
"calls": 18,
"minutes": 49,
"seconds": 2903
}
]
}