---
title: "Get a phone call leg"
method: GET
path: "/public-api/v1/phone_call_legs/{phone_call_leg_id}"
tags: ["phone_call_legs"]
---

# Get a phone call leg

`GET /public-api/v1/phone_call_legs/{phone_call_leg_id}`

## Request

- Base URL: `/` (relative, and the document’s source URL is not known)
- URL: `/public-api/v1/phone_call_legs/{phone_call_leg_id}`
- Auth: HTTP bearer and API key in header `x-tenant-code`

Retrieve one call-detail record, wrapped as ``{"call_detail": {...}}``.

## Path parameters

- `phone_call_leg_id` string, uuid, required

## Response `200`

The requested phone call leg.

- CallDetailRetrieveResponse: Response body for a single call-detail record.
  - `call_detail` CallDetailItem, required: Per-call retrieve shape.
    - `id` string, uuid, required
    - `event_type` string, nullable
    - `answered` boolean
    - `circuit_number` string, nullable
    - `circuit_name` string, nullable
    - `from_number` string, nullable
    - `to_number` string, nullable
    - `dial_starts_at` string, date-time, nullable
    - `dial_answered_at` string, date-time, nullable
    - `queueing_starts_at` string, date-time, nullable
    - `queueing_answered_at` string, date-time, nullable
    - `queueing_ends_at` string, date-time, nullable
    - `dial_ends_at` string, date-time, nullable
    - `acw_ends_at` string, date-time, nullable
    - `monitoring_type` string, nullable
    - `group_name` string, nullable
    - `dtmf` string, nullable
    - `keywords` AppSchemasCallDetailsKeyword[]
      - `participant_id` string, uuid, required
      - `starts_at` number, required
      - `value` string, required
    - `participants` ParticipantForItem[]
      - `id` string, uuid, required
      - `from_to` string, nullable
      - `type` string, nullable
      - `name` string, nullable
      - `company_name` string, nullable
      - `analysis` AppSchemasCallDetailsParticipantAnalysis: Per-participant audio analysis (only present on customers/operators).
        - `f0` number, nullable
        - `speechrate` number, nullable
        - `variance` number, nullable
        - `filler_count` integer, nullable
    - `tags` AppSchemasCallDetailsTag[]
      - `value` string, nullable
      - `creator_type` string, nullable
    - `duration_wait` number, nullable
    - `duration_talk` number, nullable
    - `call_type` 'EXTENSION_ANSWERED' | 'EXTENSION_UNANSWERED' | 'OUTGOING_ANSWERED' | 'OUTGOING_UNANSWERED' | 'INCOMING_ANSWERED' | 'INCOMING_UNANSWERED' | 'AUTOMATIC_RECORD' | 'TRANSFER_ANSWERED' | 'TRANSFER_UNANSWERED': ``call_type`` enum (response field and filter).
    - `customers` ParticipantForItem[]
      - `id` string, uuid, required
      - `from_to` string, nullable
      - `type` string, nullable
      - `name` string, nullable
      - `company_name` string, nullable
      - `analysis` AppSchemasCallDetailsParticipantAnalysis: Per-participant audio analysis (only present on customers/operators).
        - `f0` number, nullable
        - `speechrate` number, nullable
        - `variance` number, nullable
        - `filler_count` integer, nullable
    - `operators` ParticipantForItem[]
      - `id` string, uuid, required
      - `from_to` string, nullable
      - `type` string, nullable
      - `name` string, nullable
      - `company_name` string, nullable
      - `analysis` AppSchemasCallDetailsParticipantAnalysis: Per-participant audio analysis (only present on customers/operators).
        - `f0` number, nullable
        - `speechrate` number, nullable
        - `variance` number, nullable
        - `filler_count` integer, nullable
    - `analysis` CallDetailItemAnalysis: Per-call analysis (retrieve only).
      - `score` number, nullable
      - `tlr` number, nullable
      - `rally_count` integer, nullable
      - `overlap_count` integer, nullable
      - `silence_count` integer, nullable

## Other responses

- `400`: The tenant could not be resolved from the request.
- `401`: Error envelope (`public_api.unauthorized`).
- `403`: The request is not allowed for the current tenant or access configuration.
- `404`: Error envelope (`public_api.not_found`).
- `409`: Error envelope (`public_api.conflict`).
- `413`: The request body exceeds the maximum allowed size.
- `422`: Validation Error
- `429`: Rate limit exceeded. Wait for ``Retry-After`` seconds before retrying.
- `502`: Error envelope (`public_api.internal_error`).
- `503`: The request could not be served right now. Please retry.
- `504`: Error envelope (`public_api.request_timeout`).

---

[API](https://skmtc.dev/miitel/apis/miitel-public-api.md) - [All operations](https://skmtc.dev/miitel/apis/miitel-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/miitel/apis/miitel-public-api/revisions/961732756fa3?raw)
