Download File
Files API (NEW)
Download File
Download the original file content with proper headers
GET
Download File
Download File
GET/files/{file_id}/download
Download the original file content with preserved filename and content type. Streams file efficiently without loading into memory.
Features
- Preserves original filename and content type
- Efficient streaming without memory loading
- Proper content disposition headers
- User ownership validation
Parameters
Request
Response Headers
Response
The response will be the binary file content with appropriate headers set for download.Response Headers
Supported File Types
Error Responses
- 404 Not Found: File doesn’t exist or user doesn’t have access
- 410 Gone: File has been deleted
- 500 Internal Server Error: File storage issue
Try It Out
Use the interactive playground above to test the download file endpoint. You can:- Add your API key in the Authorization header
- Enter a file ID in the path parameter (use a UUID from your uploaded files)
- Execute the request to download the original file