Skip to main content
POST
Start an upload

Autorizações

X-Api-Key
string
header
obrigatório

Corpo

file_name
string
obrigatório

Original file name. Used to detect the extension and as a fallback title.

file_size
number
obrigatório

Size of the file in bytes. The ceiling comes from your plan.

content_type
string

MIME type — defaults to video/mp4. Must match the bytes you PUT.

Resposta

Response for status 200

mode
enum<string>
obrigatório
Opções disponíveis:
single
video_id
string
obrigatório

Generated video ID. Pass it to POST /videos/upload/complete after the PUT.

upload_url
string
obrigatório

Presigned PUT URL — upload the raw bytes here.

expires_in
number
obrigatório

Seconds until upload_url expires.

Última modificação em 23 de agosto de 2026