VideohatiDocs
API referencePlayback

Variant HLS playlist

Variant HLS playlist

GET/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8

Returns one rendition's playlist with signed CDN segment URLs and, for encrypted videos, a signed key URL. Auth: the t/e/s signed-URL query trio. Served with Cache-Control: no-store.

Error codes: signature_invalid (403), signature_expired (403), session_invalid (403), referrer_not_allowed (403), manifest_not_found (404).

Authentication

  • This operation needs no authentication.

Parameters

NameInTypeRequiredDescription
videoIdpathstring (Ulid)Yes
rungpathstringYesRendition name, for example 360p or 720p.
tquerystringYesbase64url HMAC-SHA256 over <path>|<expiry>|<sessionId>. Minted by the server into manifestUrl; clients never construct it.
equeryintegerYesToken expiry as a Unix timestamp in seconds.
squerystring (Ulid)YesPlayback session id the token is bound to.

Request body

This operation takes no request body.

Responses

StatusMeaning
200The variant playlist.
403The credential is valid but does not permit this action. The per-operation description lists the exact error.code values.
404The resource does not exist or is not visible to this caller.

Try it

GET
/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8
No authentication

API playground

Send a live request to the Videohati API; this operation needs no authentication.

Rendition name, for example `360p` or `720p`.

base64url HMAC-SHA256 over `<path>|<expiry>|<sessionId>`. Minted by the server into `manifestUrl`; clients never construct it.

Token expiry as a Unix timestamp in seconds.

Playback session id the token is bound to.

https://api.staging.videohati.com/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8