Skip to main content
POST
Create a dashboard preview token

Authorizations

segmnt_session
string
cookie
required

Dashboard session cookie, set after SSO sign-in.

Path Parameters

projectId
string
required
Pattern: ^prj_[A-Za-z0-9]+$
videoId
string
required
Pattern: ^vid_[A-Za-z0-9]+$

Response

Preview token created.

token
string
required

Opaque signed token. Do not parse it. It works for one video, one dashboard host and a short time only.

expiresAt
string<date-time>
required
embedUrl
string<uri>
required

Our player (hls.js) for an iframe. The URL has no token in it: the dashboard appends the real token for the live preview and the visible YOUR_PLAYBACK_TOKEN placeholder in the copyable embed snippet, so a preview token never leaks into what a customer copies.

Example:

"https://test-cdn.segmnt.cloud/e/vid_9xR4tL"