Skip to main content
POST
Create upload

Authorizations

Authorization
string
header
required

Workspace API key from Settings → API Keys.

Body

multipart/form-data
media
file
required

The file.

Response

The upload.

A temporary upload. Pass upload_token as a media item before expires_at.

upload_token
string<uuid>
type
enum<string>
Available options:
image,
video,
document
mime_type
string
size
integer

Bytes.

original_filename
string
url
string<uri>
expires_at
string<date-time>

ISO 8601. 24 hours after the upload; unused uploads are then deleted.