Skip to content
Start here

Direct Upload

Upload videos via direct upload URLs
POST/accounts/{account_id}/stream/direct_upload
ModelsExpand Collapse
DirectUploadCreateResponse { scheduledDeletion, uid, uploadURL, watermark }
scheduledDeletion: optional string

Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.

formatdate-time
uid: optional string

A Cloudflare-generated unique identifier for a media item.

maxLength32
uploadURL: optional string

The URL an unauthenticated upload can use for a single HTTP POST multipart/form-data request.

watermark: optional Watermark { created, downloadedFrom, height, 8 more }