Download file
Retrieves and downloads the entire media file based on the specified file ID.
The response body is the raw binary content of the file. Treat the response body as a byte stream and write it directly to disk or pass it to a file handler.
The `Content-Type` response header indicates the MIME type of the file (e.g. `application/pdf`, `text/html`). Use this to determine how to handle or display the file.
The `Checksum-SHA256` response header provides a SHA-256 hash of the file contents. Verify this value against the downloaded bytes to confirm the file was not corrupted in transit.
Path parameters
id
Response headers
Content-Type
Content-Length
Checksum-SHA256
Response
Successfully retrieved the file. The response body is the raw binary content of the file.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error