---
title: "Get call statistics"
method: GET
path: "/api/v1/calls/statistics"
tags: ["Calls"]
---

# Get call statistics

`GET /api/v1/calls/statistics`

## Request

- Base URL: `https://app.didlogic.com`
- URL: `https://app.didlogic.com/api/v1/calls/statistics`
- Auth: HTTP bearer

Retrieve aggregated call statistics including totals and counts.

**Response includes:**
- Placed calls: total cost and count
- Received calls: total cost and count
- Missed calls: count only
- All calls: combined total cost and count

Rows: calls_show.

## Query parameters

- `from` string
- `to` string
- `sipfriend` integer
- `search` integer
- `amd_status` string
- `hangup_cause` 'AMD_MACHINE' | 'NORMAL_CLEARING' | 'NO_ANSWER' | 'BUSY' | 'FAILED'

## Response `200`

returns call statistics

- object
  - `placed` object, required: Statistics for placed (outgoing) calls
    - `total` string, required: Total cost of placed calls
    - `count` integer, required: Number of placed calls
  - `received` object, required: Statistics for received (incoming) calls
    - `total` string, required: Total cost of received calls
    - `count` integer, required: Number of received calls
  - `missed` object, required: Statistics for missed calls
    - `count` integer, required: Number of missed calls
  - `all` object, required: Combined statistics for all calls
    - `total` string, required: Total cost of all calls
    - `count` integer, required: Total number of all calls

## Other responses

- `403`: returns forbidden error

---

[API](https://skmtc.dev/didlogic/apis/get-started.md) · [All operations](https://skmtc.dev/didlogic/apis/get-started/llms.txt) · [OpenAPI document](https://skmtc.dev/didlogic/apis/get-started/revisions/dc972d592b34?raw)
