Lookup Embed Code

Return a JavaScript or iframe embed snippet for a VOD, live channel, or playlist.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns an HTML snippet for embedding a VOD, live channel, or playlist. This endpoint only returns code — there is no create or upload step.

Use resource_type vod, channel, or playlist.

A successful call returns 200. The body is JSON with one field, code. < / > are JSON-escaped as \u003c / \u003e. Parse the JSON and insert code as HTML — do not run unescape() on the raw string.

The iframe src and JavaScript contentId match the UI share link (root_user_id + content id). The HTML wrapper around them does not; see Embed codes for API vs UI snippets.

Path Params
string
enum
required
Defaults to vod

One of vod, channel, or playlist.

Allowed:
string
required

VOD, channel, or playlist id.

string
enum
required
Defaults to javascript

Snippet format to return.

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json