Analytics

Call counts by day

Changed on

Returns call counts aggregated per calendar day, suitable for bar chart visualizations.

get/analytics/call-counts-by-day

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/analytics/call-counts-by-day
  • Auth
    HTTP bearer

Query parameters

agentIdstring

Comma-separated agent IDs to filter results

campaignIdstring

Campaign ID to filter results

callTypestring

Type of call to filter (e.g. inbound, outbound)

dateFromstring date-time

Start of date range (ISO 8601)

dateTostring date-time

End of date range (ISO 8601)

Response

Daily call counts

successboolean

Example response

{
  "success": true
}

Changes