Skip to main content
POST
/
video
/
v1
/
videos
/
{videoId}
/
token
Mint a signed playback token
curl --request POST \
  --url https://api.voyant.travel/video/v1/videos/{videoId}/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expiresInSeconds": 43230,
  "downloadable": true
}
'
{
  "data": {
    "videoId": "<string>",
    "token": "<string>",
    "expiresAt": 123,
    "playbackHlsUrl": "<string>",
    "playbackDashUrl": "<string>"
  }
}

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.

Path Parameters

videoId
string
required

Body

application/json
expiresInSeconds
integer

Token lifetime in seconds. Default 3600.

Required range: 60 <= x <= 86400
downloadable
boolean

Response

Signed token

data
object
required