Voice Analytics

Get voice call statistics over time, including call counts and total duration.

GET /v1/analytics/voice

Parameters

Parameter
Type
Default
Description

from

ISO 8601

30 days ago

Start of the date range

to

ISO 8601

Now

End of the date range

interval

string

day

Grouping interval: day, week, or month

Response

{
  "period": {
    "from": "2026-03-01T00:00:00.000Z",
    "to": "2026-03-12T00:00:00.000Z"
  },
  "interval": "day",
  "data": [
    {
      "date": "2026-03-01",
      "total": 5,
      "total_duration_seconds": 1200
    },
    {
      "date": "2026-03-02",
      "total": 8,
      "total_duration_seconds": 2340
    }
  ]
}

Response Fields

Field
Type
Description

date

string

The date or period start

total

integer

Number of calls in this period

total_duration_seconds

integer

Combined call duration in seconds

Example

Last updated