Skip to main content
GET
Fetch a file through its download URL

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

Query Parameters

path
string
required

The file the URL was minted for.

expires
integer<int64>
required

When the URL stops working, as a Unix timestamp in seconds.

sig
string
required

Signature over the other parameters. Editing any of them invalidates it.

disposition
enum<string>

Present when the URL was minted with attachment.

Available options:
attachment
cache
enum<string>

Present when the URL was minted with immutable.

Available options:
immutable

Response

The whole file. Content-Type comes from the file's extension, Content-Length is its size, ETag and Last-Modified are its validators, and Accept-Ranges: bytes is set.

The response is of type file.