Skip to main content
POST
/
video
/
v1
/
videos
/
{videoId}
/
downloads
Enable downloads for a video
curl --request POST \
  --url https://api.voyant.travel/video/v1/videos/{videoId}/downloads \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "organizationId": "<string>",
    "readyToStream": true,
    "thumbnailTimestampPct": 123,
    "requireSignedUrls": true,
    "allowedOrigins": [
      "<string>"
    ],
    "tags": [
      "<string>"
    ],
    "meta": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "providerVideoUid": "<string>",
    "name": "<string>",
    "durationSeconds": 123,
    "sizeBytes": 123,
    "inputWidth": 123,
    "inputHeight": 123,
    "thumbnailUrl": "<string>",
    "playbackHlsUrl": "<string>",
    "playbackDashUrl": "<string>",
    "maxDurationSeconds": 123,
    "maxSizeBytes": 123,
    "watermarkProfileId": "<string>",
    "downloadReadyAt": "2023-11-07T05:31:56Z",
    "errorCode": "<string>",
    "errorMessage": "<string>",
    "uploadedAt": "2023-11-07T05:31:56Z",
    "readyAt": "2023-11-07T05:31:56Z",
    "lastEventAt": "2023-11-07T05:31:56Z"
  }
}

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

Response

Video

data
object
required