---
title: "Get calling analytics"
method: GET
path: "/core/analytics/calling"
tags: ["Analytics"]
---

# Get calling analytics

`GET /core/analytics/calling`

REQUIRED SCOPES <code>['analytics:read']</code> <br> Retrieve statistics and charts for inbound and outbound calls within the specified time range.

## Query parameters

- `from` string, date, required
- `to` string, date, required
- `interval` 'day' | 'week' | 'month' | 'year', required
- `timezone` string, required
- `filter[members]` integer[]
- `filter[inboxes]` integer[]
- `filter[numbers]` integer[]
- `filter[tags]` integer[]

## Response `200`

Successful response with calling analytics

- object
  - `statistic` CallingStatistic[]
    - `key` string — Statistic key
    - `label` string — Human-readable label
    - `value` integer — Current value of the statistic
    - `prevValue` integer — Previous period value
    - `parent` string, nullable — Parent statistic key
  - `charts` CallingChartData[]
    - `date` string, date — Date of the data point
    - `label` string — Label for the chart data point
    - `outbound_calls` integer
    - `inbound_calls` integer
    - `avg_duration_outbound` number, float
    - `answered_outbound` integer
    - `unanswered_outbound` integer
    - `busy_outbound` integer
    - `failed_outbound` integer
    - `avg_duration_inbound` number, float
    - `answered_inbound` integer
    - `answered_inbound_human` integer
    - `answered_inbound_ai` integer
    - `missed_inbound` integer
    - `busy_inbound` integer
    - `failed_inbound` integer
    - `forwarded` integer
    - `avg_duration_forwarded` number, float

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/salesmessage/apis/salesmessage-public-api.md) · [All operations](https://skmtc.net/salesmessage/apis/salesmessage-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesmessage/salesmessage-public-api/revisions/e96b3e58b041/schema)
