Skip to main content
POST
SDK

Authorizations

Authorization
string
header
required

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
fileSize
integer
required

Total file size in bytes. Used as the TUS Upload-Length. Max 30 GB.

Required range: 1 <= x <= 32212254720
maxDurationSeconds
integer
required

Cloudflare Stream caps total length at 21,600 seconds (6 hours).

Required range: 1 <= x <= 21600
name
string | null
Maximum string length: 200
requireSignedUrls
boolean
allowedOrigins
string[]
Maximum array length: 20
Maximum string length: 253
tags
string[]
Maximum array length: 50
Maximum string length: 64
watermarkProfileId
string | null
Maximum string length: 120
thumbnailTimestampPct
number | null
Required range: 0 <= x <= 1
meta
object

Response

Upload ticket

data
object
required