Skip to main content
POST
Get a short-lived signed URL that uploads one file.

Authorizations

Authorization
string
header
required

Opaque instabox access token (1 hour). Refresh with /v1/auth/refresh (refresh token valid 30 days, rotates on use).

Path Parameters

id
string
required

Sandbox ID (m_ + 26 lowercase base32 characters).

Pattern: ^m_[a-z2-7]{26}$

Body

application/json
path
string
required

Absolute path of the file to write.

mode
string

Octal permissions, for example 0755 (default an existing file's, else 0644).

parents
boolean

Create missing parent directories.

expiresInSeconds
integer

Lifetime; default 900.

Required range: 1 <= x <= 3600

Response

The upload URL.

url
string
required

PUT the file's raw bytes here; it carries its own credential.

method
enum<string>
required
Available options:
PUT
path
string
required
expiresAt
string<date-time>
required
maxBytes
integer<int64>
required

The largest body the URL takes (5 GiB).