Skip to main content
POST
Upload an MP4 asset

Authorizations

X-API-Key
string
header
required

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

Body

multipart/form-data
file
file
required

MP4 video with H.264 8-bit video and AAC/MP3 audio if present

title
string
default:Video
ad_free
boolean
default:false
temporary
boolean
default:false

Schedule removal after one hour, including abandoned analyses.

Response

Successful Response

asset_id
string
required
title
string
required
source_kind
enum<string>
required
Available options:
upload,
mp4,
hls
version
string
required

Version of the source validated at import

status
enum<string>
required
Available options:
ready,
changed
ad_free
boolean
required
immutable
boolean
required
created_at
number
required

Unix timestamp in seconds

metadata
AssetMetadata · object
required
source
string | null
required

Redacted CDN source; null for uploads

playback_url
string
required

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

thumbnail_url
string
required

Private relative URL for the thumbnail, if available

analysis
AssetAnalysis · object | null
required