v1

latestOpenAPI 3.1.02026-07-2416666272.6 KB
Shorts

Generate Upload URL

Generates a presigned S3 URL for single-part video file upload. Use this for smaller files. For larger files, use the multipart upload endpoints.

post/upload-url

Request body

filenamestring required

Original filename of the video (e.g. my-video.mp4).

content_typestring required

MIME type of the video file (e.g. video/mp4, video/quicktime).

Response

200

successboolean
upload_urlstring

Presigned PUT URL to upload the file. Valid for 1 hour.

s3_keystring

S3 key for the uploaded file. Use this value when calling /import-video with source_type: upload.

expires_innumber

Expiration time of the presigned URL, in seconds.