v1
latestOpenAPI 3.1.12026-07-267189154.8 KBFile Uploads
Prepare a local file upload
Creates an upload job and returns signed credentials so you can POST a local file directly to the returned uploadUrl. After preparing, POST the file to uploadUrl as multipart form data with the returned params, signature, and file fields, then poll GET /uploads/{id} until status is ready.
See File uploads for a full walkthrough and curl examples.
Supported file types:
- Images: JPEG, PNG, GIF, WebP
- Videos: MP4, QuickTime (MOV)
File size limits:
- Images: 10 MB max
- GIFs: 15 MB max
- Videos: 350 MB max
The returned credentials are short-lived. Upload the file before expiresAt.
post/uploads/prepare
Request body
Response
Signed credentials for uploading the file