Create a direct upload
Video
Create a direct upload
Creates a video record and returns a TUS upload ticket the client uses to upload the file bytes directly. Requires scope: video:upload
POST
Create a direct upload
Authorizations
Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.
Body
application/json
Total file size in bytes. Used as the TUS Upload-Length. Max 30 GB.
Required range:
1 <= x <= 32212254720Cloudflare Stream caps total length at 21,600 seconds (6 hours).
Required range:
1 <= x <= 21600Maximum string length:
200Maximum array length:
20Maximum string length:
253Maximum array length:
50Maximum string length:
64Maximum string length:
120Required range:
0 <= x <= 1Response
Upload ticket