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

# Get call recording

> Streams call recording audio as MP3. Supports both inline streaming for browser playback
and file downloads. This endpoint is publicly accessible without authentication.

## Playback Options

* **inBrowser=true** (default): Streams inline for browser playback
* **inBrowser=false**: Forces file download as `call_{recordId}.mp3`

## Public Access

<Note>This endpoint does not require authentication and can be accessed publicly.</Note>

## Use Cases

* Embed recordings in web applications
* Direct playback in audio players
* Download recordings for offline review


## OpenAPI

````yaml https://blackbox.dasha.ai/swagger/v1/swagger.json get /api/v1/calls/media/{recordId}
openapi: 3.0.4
info:
  title: Dasha BlackBox Agent API
  description: API for managing AI agents and calls
  contact:
    name: DashaAI Team
    email: support@dasha.ai
  version: v1
servers:
  - url: https://blackbox.dasha.ai
    description: Dasha BlackBox Agent API
security:
  - ApiKey: []
  - OAuth: []
tags:
  - name: ActivityLogs
  - name: Agents
  - name: AgentTestCases
  - name: CallResults
  - name: Calls
  - name: Chats
  - name: Copilot
  - name: CustomerData
  - name: Mcp
  - name: Media
  - name: Misc
  - name: PronunciationDictionaries
  - name: Providers
  - name: SipAliases
  - name: SipCredentials
  - name: SipPhoneNumbers
  - name: TextChat
  - name: TwilioProvider
  - name: Voice
  - name: WebhookTest
  - name: WebIntegrations
  - name: WebSocket
    description: WebSocket endpoints for real-time communication
paths:
  /api/v1/calls/media/{recordId}:
    get:
      tags:
        - Calls
      summary: Get call recording
      description: >-
        Streams call recording audio as MP3. Supports both inline streaming for
        browser playback

        and file downloads. This endpoint is publicly accessible without
        authentication.
      parameters:
        - name: recordId
          in: path
          description: Record identifier
          required: true
          schema:
            type: string
        - name: inBrowser
          in: query
          description: Stream inline or download
          schema:
            type: boolean
            default: true
      responses:
        '200':
          description: Returns audio stream successfully
          content:
            audio/mpeg:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: string
                format: binary
        '404':
          description: Recording with specified ID does not exist
          content:
            audio/mpeg:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Server error occurred while streaming media
components:
  schemas:
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
  securitySchemes:
    ApiKey:
      type: http
      description: API Key Authentication (Bearer {key})
      scheme: Bearer
    OAuth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://auth.dasha.ai/connect/authorize
          scopes:
            platform_api: Platform API

````