Skip to main content
GET
/
api
/
v1
/
calls
/
media
/
{recordId}
Streams call record media
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>"

Path Parameters

recordId
string
required

Record identifier

Query Parameters

inBrowser
boolean
default:true

If true (default), streams inline for browser playback; if false, forces file download

Response

Returns the audio/mpeg content

The response is of type file.