> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zavu.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get voice call

> Retrieve a single voice call, including its full transcript once the conversation has produced turns.



## OpenAPI

````yaml /openapi.json get /v1/calls/{callId}
openapi: 3.0.3
info:
  title: Zavu Unified Messaging Layer API
  version: 0.2.0
  description: >
    Unified multi-channel messaging API for Zavu.


    Supported channels:

    - **SMS**: Simple text messages

    - **WhatsApp**: Rich messaging with media, buttons, lists, CTA URL buttons,
    and templates

    - **Telegram**: Bot messaging with text, media, and interactive elements

    - **Email**: Transactional emails via Amazon SES


    Design goals:

    - Simple `send()` entrypoint for developers

    - Project-level authentication via Bearer token

    - Support for all WhatsApp message types (text, image, video, audio,
    document, sticker, location, contact, buttons, list, cta_url, reaction,
    template)

    - If a non-text message type is sent, WhatsApp channel is used automatically

    - 24-hour WhatsApp conversation window enforcement

    - Universal `to` field accepts phone numbers (E.164), email addresses, or
    numeric chat IDs (Telegram/Instagram/Messenger)
servers:
  - url: https://api.zavu.dev
security:
  - bearerAuth: []
paths:
  /v1/calls/{callId}:
    get:
      tags:
        - Voice Agents
      summary: Get voice call
      description: >-
        Retrieve a single voice call, including its full transcript once the
        conversation has produced turns.
      operationId: getCall
      parameters:
        - $ref: '#/components/parameters/CallIdParam'
      responses:
        '200':
          description: Voice call details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCallResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Voice Agents is not enabled for this team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Call not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  parameters:
    CallIdParam:
      name: callId
      in: path
      required: true
      description: Voice call ID.
      schema:
        type: string
  schemas:
    VoiceCallResponse:
      type: object
      required:
        - call
      properties:
        call:
          $ref: '#/components/schemas/VoiceCall'
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: invalid_request
        message:
          type: string
          example: Phone number is invalid
        details:
          type: object
          additionalProperties: true
    VoiceCall:
      type: object
      required:
        - id
        - direction
        - from
        - to
        - status
        - createdAt
      properties:
        id:
          type: string
          example: call_abc123
        direction:
          $ref: '#/components/schemas/VoiceCallDirection'
        from:
          type: string
          description: >-
            Caller phone number in E.164 format. Your sender's number for
            outbound calls; the caller's number for inbound calls.
          example: '+13125551212'
        to:
          type: string
          description: Callee phone number in E.164 format.
          example: '+56912345678'
        status:
          $ref: '#/components/schemas/VoiceCallStatus'
        endReason:
          type: string
          nullable: true
          description: >-
            Why the call ended (e.g. `agent_ended`, `max_duration`, `transfer`,
            `hangup`). Present once the call is no longer active.
        answeredAt:
          type: string
          format: date-time
          nullable: true
          description: When the call was answered.
        endedAt:
          type: string
          format: date-time
          nullable: true
          description: When the call ended.
        durationSeconds:
          type: integer
          nullable: true
          description: Billable talk time in seconds, measured from answer to hangup.
        turnCount:
          type: integer
          nullable: true
          description: Number of conversation turns exchanged during the call.
        transcript:
          type: array
          description: >-
            Ordered transcript of the call. Included when retrieving a single
            call; omitted from list responses.
          items:
            $ref: '#/components/schemas/VoiceCallTurn'
        cost:
          type: number
          nullable: true
          description: >-
            Total cost of the call in USD, combining the managed voice pipeline
            per-minute charge and telephony. Available once the call has ended.
        metadata:
          type: object
          additionalProperties:
            type: string
          description: Arbitrary metadata you attached when creating the call.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    VoiceCallDirection:
      type: string
      description: >-
        Whether the call was placed by Zavu (outbound) or received from a caller
        (inbound).
      enum:
        - inbound
        - outbound
    VoiceCallStatus:
      type: string
      description: |-
        Lifecycle status of a voice call.
        - `queued`: outbound call created, not yet dialing.
        - `ringing`: dialing (outbound) or received and ringing (inbound).
        - `in_progress`: answered, the agent is connected.
        - `completed`: ended after a conversation.
        - `failed`: could not be completed.
        - `busy`: the line was busy.
        - `no_answer`: rang but was not answered.
        - `canceled`: canceled before it was answered.
      enum:
        - queued
        - ringing
        - in_progress
        - completed
        - failed
        - busy
        - no_answer
        - canceled
    VoiceCallTurn:
      type: object
      description: A single turn in a voice call transcript.
      required:
        - seq
        - role
        - text
      properties:
        seq:
          type: integer
          description: Ordinal position of the turn within the call, starting at 0.
        role:
          type: string
          description: >-
            Who produced the turn. `tool` records a tool call the agent made
            during the conversation.
          enum:
            - user
            - assistant
            - tool
        text:
          type: string
          description: >-
            Transcribed speech for `user` and `assistant` turns, or a JSON
            summary of the tool call for `tool` turns.
        startedAt:
          type: string
          format: date-time
          nullable: true
          description: When the turn started.
        endedAt:
          type: string
          format: date-time
          nullable: true
          description: When the turn ended.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````