---
title: "GET /voice/calls"
method: GET
path: "/voice/calls"
---

# GET /voice/calls

`GET /voice/calls`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/voice/calls`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Query parameters

- `agentId` string
- `limit` number
- `offset` number
- `direction` 'INBOUND' | 'OUTBOUND'
- `state` string
- `counterparty` string: Filter to calls with one phone number, in either direction — the call history with that contact. Matched against `to` on outbound calls and `from` on inbound ones.

## Response `200`

OK

- object
  - `calls` object[], required
    - `id` string, required
    - `agentId` string, nullable, required
    - `phoneIdentityId` string, nullable, required
    - `direction` 'INBOUND' | 'OUTBOUND', required
    - `state` string, required
    - `from` string, required
    - `to` string, required
    - `startedAt` string, required
    - `answeredAt` string, nullable, required
    - `endedAt` string, nullable, required
    - `endReason` string, nullable, required
    - `durationSeconds` number, nullable, required
    - `createdAt` string, required
  - `total` number, required

---

[API](https://skmtc.dev/useanima/apis/anima-api.md) · [All operations](https://skmtc.dev/useanima/apis/anima-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanima/apis/anima-api/revisions/aaa148188980?raw)
