Skip to main content
POST
Create agency upload

Authorizations

Authorization
string
header
required

Platform token required for authentication. Find or create one inside Profile Icon > API Keys. Example: Bearer sk-agencii-...

Body

application/json
apiIntegrationId
string
required
folder
string
required

Canonical folder below /app/mnt/, chosen by your server for the app member.

filename
string
required

A nonblank filename without directory separators or control characters.

contentType
string
required
Example:

"image/png"

sizeBytes
integer
required

Number of file bytes to upload.

Required range: 1 <= x <= 20971520

Response

Upload destination reserved.

resource
string
required

Persistent /app/mnt/ file path for sandboxFiles.

uploadUrl
string<uri>
required

Short-lived signed POST destination. Keep it on your server.

uploadFields
object
required

Form fields to include unchanged before the file field.