Skip to main content
POST
Presign an image upload

Authorizations

Authorization
string
header
required

A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.

Body

application/json
filename
string
required

Original filename; sanitized into the object key.

file_type
enum<string>
required
Available options:
image/jpeg,
image/png,
image/webp,
image/gif
size
integer
required

File size in bytes. 5 MB max (15 MB for GIF).

Response

The registered upload and its presigned PUT URL.

data
object