Saltar al contenido principal
POST
Create an asset from a URL

Autorizaciones

X-API-Key
string
header
requerido

Partner API key (ck_…). Created by Interactive Layers; shown only once.

Cuerpo

application/json
title
string
requerido
Required string length: 1 - 200
url
string
requerido

HTTPS MP4, or a finite clear HLS playlist on an allowed CDN: a master or a media playlist, MPEG-TS or fMP4. From a master, the lowest-bandwidth video variant and its default audio are analysed.

Maximum string length: 4096
immutable
boolean
predeterminado:false

Attest the URL and all its segments are versioned and immutable.

ad_free
boolean
predeterminado:false

Attest the source contains no embedded ads.

Respuesta

Successful Response

asset_id
string
requerido
title
string
requerido
source_kind
enum<string>
requerido
Opciones disponibles:
upload,
mp4,
hls
version
string
requerido

Version of the source validated at import

status
enum<string>
requerido
Opciones disponibles:
ready,
changed
ad_free
boolean
requerido
immutable
boolean
requerido
created_at
number
requerido

Unix timestamp in seconds

metadata
AssetMetadata · object
requerido
source
string | null
requerido

Redacted CDN source; null for uploads

playback_url
string
requerido

Private relative URL. Use the same authentication as the asset request.

thumbnail_url
string
requerido

Private relative URL for the thumbnail, if available

analysis
AssetAnalysis · object | null
requerido