Skip to main content
GET
Get Volume Analytics
Returns the numbers behind the Volume cards and trend chart in Analytics. Each card has count, previous (the period of the same length just before) and delta_pct.

Notes

  • sum(by_bucket[].total) equals total.count, and in each bucket total = completed + failed + cancelled + registered + ongoing + retry.
  • total.campaign_count and total.api_count split the current total by where calls came from. A callback counts toward its parent call’s campaign.
  • callback_count always reports callback calls, whatever include_callback is set to. It overlaps total only when include_callback=true.
  • connection_rate.campaign_time_exhausted and connection_rate.retry_exhausted count calls stopped by the campaign’s end time or retry limit.
  • aht_seconds.duration_distribution counts completed calls in four buckets: under 10 seconds, 10 to 30, 30 to 60, and 60 or more.
  • unique_numbers_used is the phone numbers your workspace owns, so it ignores the date range and filters.
  • With a call channel filter, chats are left out and chat_total.count is 0.

Errors

  • 400: a filter is invalid, such as an unknown channel, a malformed ID, or sub_workspace_id sent from a workspace that isn’t a primary workspace.
  • 401: X-API-KEY is missing or invalid.

Authorizations

X-API-KEY
string
header
required

Query Parameters

start_date
string

Start of the reporting window. Accepts YYYY-MM-DD or ISO-8601. Omit both dates for all time.

Example:

"2026-10-01"

end_date
string

End of the reporting window (inclusive). Accepts YYYY-MM-DD or ISO-8601.

Example:

"2026-10-15"

agent_id
string

Filter by one or more agent IDs (comma-separated).

Example:

"00000000-0000-4000-8000-0000000000a1"

agent_version_id
string

Filter by one or more agent version IDs (comma-separated).

Example:

"00000000-0000-4000-8000-0000000000d1"

bulk_list_id
string

Filter by one or more campaign (bulk list) IDs (comma-separated). Callback calls inherit the campaign of their parent call.

Example:

"00000000-0000-4000-8000-0000000000c1"

voicemail
boolean

true returns only voicemail calls, false excludes them. Omit to include all calls.

Example:

false

channel
string

Filter by call channel (comma-separated): inbound, outbound, webcall. Unknown values return 400.

Example:

"outbound"

include_callback
boolean
default:false

Include callback-feature calls (call_category = CALLBACK) in the metrics. Defaults to false.

Example:

false

sub_workspace_id
string<uuid>[]

Primary workspaces only: limit the combined analytics to these Ringg Spaces. Repeat the parameter for multiple IDs. The primary workspace's own ID is accepted; any other workspace sending this parameter gets 400.

Example:
tz
string

IANA timezone used to bucket the time series (for example Asia/Kolkata). Bucket labels are returned in this timezone. Omitted or invalid values fall back to UTC.

Example:

"Asia/Kolkata"

Response

Volume analytics retrieved successfully.

volume
object