Skip to main content
POST
Requires create post. See the media guide.

Request

string
required
Original filename, including extension (e.g. clip.mp4). Max 500.
string
required
MIME type. Allowed: image/jpeg, image/jpg, image/png, image/gif, image/webp, video/mp4, video/quicktime, application/pdf.
integer
Optional size in bytes. Rejected when it exceeds the type cap (10 MB image, 1 GB video, 100 MB PDF).

Response

string
PUT the file here. No Authorization header.
string
Pass this as media[].url after the PUT succeeds.
string
Storage key (temp/{account_id}/…).
integer
Seconds until upload_url expires (3600).
object
Must be sent with the PUT. Always includes Content-Type.