Skip to Content
Retrieve chapters
get

Fetch the chapters for an asset as JSON. This is only possible for assets with a text track where text_type is chapters.

Request path & query params
PLAYBACK_ID
string

The asset or live stream's playback ID.

TRACK_ID
string

The ID of the track for an asset.

token
string

Signed token (JWT) for secure video playback.

get
200
https://stream.mux.com/{PLAYBACK_ID}/chapters/{TRACK_ID}.json
Response
(application/json)
[
  {
    "chapter": 1,
    "start-time": 0,
    "titles": [
      {
        "language": "en",
        "title": "Introduction"
      }
    ]
  },
  {
    "chapter": 2,
    "start-time": 120,
    "titles": [
      {
        "language": "en",
        "title": "Main Content"
      }
    ]
  }
]