curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/calls/stats/?group_by=status&created_at_from=2025-01-01 04:46:54 UTC&created_at_to=2025-01-01 16:46:54 +0000&stat=count"
Param name |
Description
Validations
|
---|---|
group_by Required |
Group calls by one of these attributes.
|
stat Required |
Return statistics on the grouped calls by one of these numeric columns.
|
created_at_to Required |
Date formatted like 2016-01-01 12:25:15 -0500
|
created_at_from Required |
Date formatted like 2016-01-01 12:25:15 -0500
|
page Optional |
Return the next page of results.
|