Skip to content

DocsAPI referenceFiles

Download a signed output

Use the signed URL from a job response. No API key is required. Supports one byte range; links expire in at most one hour.

GET /v1/files/{id}/{alias}

Needs no API key.

Parameters

Parameters
NameInTypeDescription
id requiredpathstringjob_ and 24 lowercase letters and digits.
alias requiredpathstring
account requiredquerystring
expires requiredquerystring
signature requiredquerystring
range headerstring
if-range headerstring
if-none-match headerstring

Request

bash
# download_url is an output's download_url from the job. It needs no API key.
curl --fail-with-body -o talk-720p.mp4 "$download_url"

Response

200 headers
HTTP/1.1 200 OK
content-type: video/mp4
content-length: 300000000
content-disposition: attachment; filename="talk-720p.mp4"
accept-ranges: bytes
etag: "5d41402abc4b2a76b9719d911017c592"
cache-control: private, no-store

(the file's bytes)

Responses

Responses
StatusBodyWhen
200noneThe output bytes, as an attachment.
206noneThe requested byte range.
304noneETag has not changed.
403Problempermission_denied (link_invalid)
404Problemnot_found (file)
410Problemresource_expired (link_expired, file_expired)
416Probleminvalid_request (range_not_satisfiable)
503Problemservice_unavailable (temporary)