Skip to main content
GET
/
api
/
v1
/
media
/
{id}
/
download
Download media file
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

Path Parameters

id
string<uuid>
required

Media file identifier

Response

Returns media file stream successfully

The response is of type file.