Login

video.upload.media_created

Name

Type

Description

type

string

Type for the webhook event

id

string

Unique identifier for the event

environment

object

  • environment.name

string

Unique identifier for the environment
Example : "fastpix"

  • environment.id

string

Name for the environment (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6")

data

object

  • data.id

string

Unique identifier for the media. Max 255 characters.

  • data.created_at

integer

Timestamp for when the media was created.

  • data.duration

number

The duration of the media in seconds (max duration for a single media is 12 hours).

  • data.maxresolution

string

Maximum resolution tier for the media. Defaults to 1080p if omitted.

  • data.availableresolution

string

Available resolution tier for the media. Defaults to 1080p if omitted.

  • data.encoding_tier

string

Encoding tier that informs cost, quality, and available platform features. Defaults to smart encoding tier.

  • data.aspect_ratio

string

The aspect ratio of the media in the format width:height (e.g., 16:9).

  • data.playback_ids

object

-- data.playback_ids.id

string

Unique identifier for the PlaybackID (e.g., "public").

-- data.playback_ids[].accessPolicy

string

Access policy for playback IDs. Possible values: "public", "private", "drm".

  • data.tracks

object

-- data.tracks[].id

string

Unique identifier for the track. Max 255 characters (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6").

-- data.tracks[].type

string

Individual media tracks that make up the media. Possible values: "video", "audio", "text".

-- data.tracks[].width

number

Maximum width in pixels available for the track (only for video type).

-- data.tracks[].height

number

Maximum height in pixels available for the track (only for video type).

-- data.tracks[].frameRate

number

Maximum frame rate available for the track (may return -1 if undetermined).

-- data.tracks[].closed_captions

string

Indicates if the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). Only for text tracks with type "subtitles".

  • data.test

boolean

True means this live stream is a test media. Test media is watermarked, limited to 10 seconds, and deleted after 24 hours.

  • data.status

string

The status of the media. Possible values: "created", "waiting", "preparing", "ready", "failed".

  • data.ingest_type

string

Possible values: "on_demand_url", "on_demand_direct_upload", "on_demand_clip", "live_rtmp", "live_srt".

created_at

integer

Unique identifier for the webhook (e.g., "9oa85f64-5717-4562-b3fc-2c963f66afa6").

attempts

array

accessor_source

string

accessor

string