---
title: "Bulk get phone call leg transcripts"
method: POST
path: "/public-api/v1/phone_call_legs/bulk_get_phrases"
tags: ["phone_call_legs"]
---

# Bulk get phone call leg transcripts

`POST /public-api/v1/phone_call_legs/bulk_get_phrases`

## Request

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

Fetch transcripts for up to 20 calls in one request (``{"phrases": [...]}``).

Unknown or other-tenant ids are skipped silently, so the list may be shorter.

## Request body

- CallDetailPhrasesListRequest: Request body for ``POST /phone_call_legs/bulk_get_phrases`` (1..20 IDs; unknown skipped).
  - `call_detail_ids` string[], required: Call-detail IDs to fetch transcripts for. 1 to 20 per request. Unknown IDs are skipped silently.

## Response `200`

Transcript entries for the requested phone call legs.

- CallDetailPhrasesListResponse: Response body for ``POST /phone_call_legs/bulk_get_phrases`` (unknown IDs are skipped).
  - `phrases` CallDetailPhrasesEntry[], required
    - `call_detail_id` string, uuid, required
    - `phrases` Phrase[]
      - `participant_id` string, uuid, required
      - `raw` PhraseData[]
        - `order` integer, nullable
        - `starts_at` number, nullable
        - `ends_at` number, nullable
        - `phrase` string, nullable
        - `phrase_no_filler` string, nullable
        - `filler_count` integer, nullable
      - `summary` PhraseData[]
        - `order` integer, nullable
        - `starts_at` number, nullable
        - `ends_at` number, nullable
        - `phrase` string, nullable
        - `phrase_no_filler` string, nullable
        - `filler_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)
