Skip to main content
GET
Stream Conversation Audio

Overview

Retrieve the audio recording of a completed conversation as a binary stream. The response body contains the raw audio data (audio/mpeg) which can be streamed directly to an audio player, downloaded as an MP3, or processed programmatically for transcription or archiving.

Required Permission

conversations

Path Parameters

Response

Success (200)

Returns the audio recording as a binary stream with Content-Type: audio/mpeg. The response body is the raw MP3 data.

Error Responses

403 Forbidden - Insufficient permissions
404 Not Found - Audio recording not available

Example Usage

Download as MP3 (cURL)

Stream and Play (JavaScript)

Stream and Save (Python)

Use Cases

  • Downloading conversation recordings for quality assurance and coaching
  • Archiving recordings for compliance and audit requirements
  • Feeding recordings into transcription or sentiment analysis pipelines
  • Sharing specific calls with team members for review
Audio recordings may contain sensitive personal information. Ensure proper access controls are in place and comply with applicable data privacy regulations (e.g. GDPR, DPDP Act) before storing or sharing recordings.
Audio availability depends on your recording settings. If recording is disabled for an agent, or the conversation was too short, this endpoint will return a 404 error.
Save the requestId from every response. You will need it if you contact Inya support to trace a specific request.

Authorizations

x-api-key
string
header
required

API key with 'conversations' permission

Path Parameters

conversationId
string
required

Unique identifier of the conversation.

Response

Audio recording returned as a binary stream

The response is of type file.