Skip to main content
POST
Upload File

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
required

API key for authentication

User-Agent
string | null

Body

multipart/form-data
file
file
required

File to upload

ttl_seconds
string | null

TTL in seconds (60..2_592_000), or "persistent" for no expiry. Omit for the platform default (24h).

Response

Successful Response

id
string
required
filename
string | null
required
mime_type
string
required
size_bytes
integer
required
created_at
string<date-time>
required
expires_at
string<date-time> | null
required