Skip to main content
GET
/
api
/
v1
/
calls
/
media
/
{recordId}
Get call recording
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/calls/media/{recordId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
"<string>"

Playback Options

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

Public Access

This endpoint does not require authentication and can be accessed publicly.

Use Cases

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

Path Parameters

recordId
string
required

Record identifier

Query Parameters

inBrowser
boolean
default:true

Stream inline or download

Response

Returns audio stream successfully

The response is of type file.