Skip to main content
PUT
Replace a video's chapters

Authorizations

Authorization
string
header
required

A scoped token minted in Settings → API tokens. Send it as Authorization: Bearer tplt_… or X-API-Key: tplt_….

Path Parameters

video
integer
required

The video's numeric ID.

Body

application/json
chapters
object[]
required

The complete chapter list. This is a full replace, not a merge: send every chapter you want to keep, including ones already saved. An empty array removes all chapters.

enabled
boolean

Turns chapters on or off in the player. Defaults to true when chapters is non-empty, false otherwise.

Response

The video's chapters.

chapters_options
object