v1
latestOpenAPI 3.1.02026-07-263911,4691.1 MBMedia
Get media download URL
get/media/v1/download/{id}
Path parameters
idstring required
The unique identifier for the media item.
Query parameters
tokenstring required
The given token, unique for each media item, to grant access.
download_as_attachment_namestring
Indicates the object should be downloaded as an attachment and saved with the given name. At the least, the file name should contain a name plus a 3-letter file extension e.g. test.png, conditions.pdf, a.jpg.
media_type'MEDIA_TYPE_IMAGE' | 'MEDIA_TYPE_VIDEO' | 'MEDIA_TYPE_PDF' | 'MEDIA_TYPE_DOCX' | 'MEDIA_TYPE_XLSX' | 'MEDIA_TYPE_PPTX' | 'MEDIA_TYPE_CSV'
The media type associated with the download request.
- MEDIA_TYPE_IMAGE: An image file (GIF, JPG, PNG, WEBP).
- MEDIA_TYPE_VIDEO: A video file (MP4, MOV).
- MEDIA_TYPE_PDF: A PDF document.
- MEDIA_TYPE_DOCX: A Microsoft Word document (DOCX, DOC).
- MEDIA_TYPE_XLSX: A Microsoft Excel spreadsheet (XLSX, XLS).
- MEDIA_TYPE_PPTX: A Microsoft PowerPoint presentation (PPTX, PPT).
- MEDIA_TYPE_CSV: A CSV file.
Response
A successful response.