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

# Get voice call

> Get call status and details.



## OpenAPI

````yaml /en/voice-api/api-reference/openapi-voice.json get /v1/voice/calls/{id}
openapi: 3.0.3
info:
  title: Notifique API Voice
  description: >-
    Make voice calls and control active calls. Authenticate with `Authorization:
    Bearer sk_live_...` or `x-api-key`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Production
security:
  - ntfVoiceBearerAuth: []
  - ntfVoiceApiKeyHeader: []
tags:
  - name: 'Voice: Chamadas'
    description: Originar, listar, consultar e controlar chamadas de voz.
paths:
  /v1/voice/calls/{id}:
    get:
      tags:
        - 'Voice: Chamadas'
      summary: Get voice call
      description: Get call status and details.
      operationId: ntfVoice_getV1VoiceCallsById
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: includeEvents
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: Se `true`, inclui `events` na resposta.
      responses:
        '200':
          description: Detalhe da chamada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfVoice_DetailEnvelope'
        '401':
          $ref: '#/components/responses/NtfVoice_Unauthorized'
        '403':
          $ref: '#/components/responses/NtfVoice_Forbidden'
        '404':
          description: Chamada não encontrada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfVoice_ErrorEnvelope'
components:
  schemas:
    NtfVoice_DetailEnvelope:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          allOf:
            - $ref: '#/components/schemas/NtfVoice_VoiceCall'
            - type: object
              properties:
                events:
                  type: array
                  items:
                    $ref: '#/components/schemas/NtfVoice_CallEvent'
    NtfVoice_ErrorEnvelope:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        message:
          type: string
        code:
          type: string
    NtfVoice_VoiceCall:
      type: object
      properties:
        id:
          type: string
        workspaceId:
          type: string
        phoneNumberId:
          type: string
          nullable: true
        direction:
          type: string
          enum:
            - OUTBOUND
            - INBOUND
        fromE164:
          type: string
        toE164:
          type: string
        status:
          type: string
          enum:
            - QUEUED
            - INITIATED
            - RINGING
            - ANSWERED
            - COMPLETED
            - FAILED
        callSessionId:
          type: string
          nullable: true
        callLegId:
          type: string
          nullable: true
        answeredAt:
          type: string
          format: date-time
          nullable: true
        endedAt:
          type: string
          format: date-time
          nullable: true
        durationSecs:
          type: integer
          nullable: true
        hangupCause:
          type: string
          nullable: true
        recordingAvailable:
          type: boolean
        recordingId:
          type: string
          nullable: true
        dtmfDigits:
          type: string
          nullable: true
        gatherResult:
          type: string
          nullable: true
        machineDetectionResult:
          type: string
          nullable: true
        speakText:
          type: string
          nullable: true
        playAudioUrl:
          type: string
          nullable: true
        chargedAs:
          type: string
          nullable: true
        chargeAmount:
          type: number
          nullable: true
        clientState:
          type: string
          nullable: true
        metadata:
          type: object
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    NtfVoice_CallEvent:
      type: object
      properties:
        id:
          type: string
        callId:
          type: string
        eventType:
          type: string
        payload:
          type: object
        occurredAt:
          type: string
          format: date-time
  responses:
    NtfVoice_Unauthorized:
      description: Missing or invalid API Key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NtfVoice_ErrorEnvelope'
    NtfVoice_Forbidden:
      description: Escopo insuficiente.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NtfVoice_ErrorEnvelope'
          example:
            success: false
            error: Forbidden
            message: 'Missing scope: voice:call'
            code: FORBIDDEN
  securitySchemes:
    ntfVoiceBearerAuth:
      type: http
      scheme: bearer
      description: 'API Key no formato Bearer (ex.: sk_live_...).'
    ntfVoiceApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````