Skip to main content
POST
/
v1
/
video
/
{videoId}
/
playback-token
Mint a 5-minute playback token
curl --request POST \
  --url https://api.ansdev.cloud/v1/video/{videoId}/playback-token \
  --header 'x-ansdev-key: <api-key>'
{
  "success": true,
  "data": {
    "token": "<string>",
    "expiresIn": 300,
    "playerUrl": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://ansdevcloud.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Some HTTP clients (curl, Go’s net/http) need Content-Length: 0 set explicitly on bodyless POSTs — without it, Google Front End rejects the request with 411 Length Required before it ever reaches the service.

Authorizations

x-ansdev-key
string
header
required

Format: ak_live_ + 32 hexadecimal characters. Generate one at https://ansix.ansdev.cloud/dashboard/api-keys.

Path Parameters

videoId
string
required

Public vid_... ID or internal UUID.

Required string length: 1 - 64

Response

Token issued

success
boolean
data
object