Skip to main content
POST
Presign service object upload

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Path Parameters

projectId
string<uuid>
required
serviceId
string<uuid>
required

Query Parameters

branch
string

Branch name (defaults to the project's default branch)

Body

application/json
key
string
required

full object key to write, overwriting any object already there

contentType
string
required

MIME type of the file; the policy pins it, so the upload must send the same one

size
integer
required

file size in bytes; over the cap is refused before anything is signed

Required range: 0 <= x <= 5368709120

Response

Default Response

url
string
required

POST the multipart form here — straight to the provider, not through this API

fields
object
required

policy form fields; send them verbatim BEFORE the file part

expiresAt
string<date-time>
required

5 minutes out — an upload takes longer than a download click