Get Download URL
Get Download URL
Generates a temporary signed download URL for a specific file.
Method: GET
URL: {{base_url}}/files/{{file_id}}/download
Authentication
This endpoint requires authentication.
- Recommended: Bearer token in the
Authorizationheader:
Notes:
-
If your collection/folder already sets auth, this request can inherit auth.
-
Ensure
{{access_token}}is a valid, non-expired token.
Required variables
Set these variables at the environment or collection level:
Path Parameters
Example request URL:
Sample request
Sample success response
A successful request typically returns HTTP 200 OK.
Response fields
Common errors
-
400 Bad Request
- Invalid or missing
file_id
- Invalid or missing
-
401 Unauthorized / 403 Forbidden
-
Missing/invalid
Authorizationheader -
Expired
{{access_token}}
-
-
404 Not Found
- File with the given
file_iddoes not exist
- File with the given
Notes
-
The
download_urlis a time-limited signed URL generated by the storage provider. -
The URL may expire after a specific duration (e.g., 1 hour).
-
This endpoint is useful when you want to securely share a downloadable file without exposing direct storage paths.
-
Once the URL expires, a new request to this endpoint is required to generate another download link.
