Assets

Get a presigned upload URL (public file → https URL)

Returns a presigned S3 upload_url and the resulting public public_url. PUT your file bytes to upload_url with header Content-Type: <content_type>, then use public_url as image_url / first_frame_url (manual videos), file_url (avatar photos) or logo_url (brand logos).

post/v1/uploads

Request

Request body

filenamestring required
content_typestring required

Example request

{
  "filename": "photo.png",
  "content_type": "image/png"
}

Response

Presigned upload created.

objectstring
upload_urlstring

Presigned S3 PUT url.

public_urlstring

The resulting public https url to reference.

expires_in_secondsinteger
methodstring

Example response

{
  "object": "upload",
  "method": "PUT"
}

Changes

No recorded changes to this operation across all 1 revision of this API.