/storage/download

Create a pre-signed download URL for an existing file.

Flow:

  1. Call this endpoint with the file's key — as returned by /storage/upload, or as found on entities (e.g. the proof documents of a tour stop).
  2. Send a GET request to the returned url to fetch the file bytes directly from cloud storage. The URL is valid for 15 minutes; request a fresh one when it expires.

Files can only be read by the tenant that owns them.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

request to create download url

string
required

Storage key of the file to download, as returned when it was uploaded (without a 'public/' prefix).

Responses

400

bad request

401

unauthorized

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json