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

# Get Call Recording

> Retrieves the audio recording for a specific call. If the client has public recordings enabled, the endpoint can be accessed anonymously; otherwise, a valid Authorization header matching the client is required. Recordings hosted on Twilio are returned as a permanent redirect, while recordings stored internally are converted from WAV to Opus (audio/ogg) and streamed back with range processing enabled for browser seeking.



## OpenAPI

````yaml get /v2/Recording/{clientId}/{pearlId}/{callId}
openapi: 3.0.1
info:
  title: NLPearl Client API
  description: A sample API that demonstrates features in the OpenAPI specification
  version: v2
servers:
  - url: https://api.nlpearl.ai
    description: Production Environement
security:
  - bearer_auth: []
tags:
  - name: Pearl
    description: >-
      Manage your Pearls, the AI agents that handle your inbound and outbound
      calls. Create and configure Pearls, retrieve their details and settings,
      run or pause them, list and bulk-export their calls, monitor calls in
      progress, get analytics, and reset a customer's conversation memory.
paths:
  /v2/Recording/{clientId}/{pearlId}/{callId}:
    get:
      tags:
        - Recording
      summary: Get Call Recording
      description: >-
        Retrieves the audio recording for a specific call. If the client has
        public recordings enabled, the endpoint can be accessed anonymously;
        otherwise, a valid Authorization header matching the client is required.
        Recordings hosted on Twilio are returned as a permanent redirect, while
        recordings stored internally are converted from WAV to Opus (audio/ogg)
        and streamed back with range processing enabled for browser seeking.
      parameters:
        - name: clientId
          in: path
          required: true
          schema:
            type: string
        - name: pearlId
          in: path
          required: true
          schema:
            type: string
        - name: callId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The audio recording in Opus format (audio/ogg).
          content:
            text/plain:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: string
                format: binary
            text/json:
              schema:
                type: string
                format: binary
        '400':
          description: One or more provided IDs are not valid ObjectIds.
        '401':
          description: >-
            The client does not allow public recordings and the request is not
            properly authenticated for the given client.
        '404':
          description: No recording was found for the specified call.
        '500':
          description: Failed to process the recording (e.g., conversion error).
components:
  securitySchemes:
    bearer_auth:
      type: http
      description: >-
        Specify the authorization token.


        For more information, check out the [Authorization
        Guide](/api-reference/authorization).
      scheme: bearer

````