Generate a clip

Creates a clip via the HLS export pipeline and returns a trackable job
whose id equals the new clip_id. Provide numeric
start_offset_seconds / end_offset_seconds (seconds from stream start
for source=replay, or seconds-ago for source=live_dvr).
Subscribe to clip.created, clip.ready, and clip.failed webhooks.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
number
required
number
required
string
enum
Defaults to replay
Allowed:
string
number

Alias for start_offset_seconds (numeric only).

number

Alias for end_offset_seconds (numeric only).

Headers
string

Unique key to safely retry POST requests. Reusing a key returns the original response with Idempotent-Replayed: true and performs no new work. Reusing a key with a different body returns 409 idempotency_conflict. Keys are scoped to your API key and expire after 24 hours.

Responses

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