---
title: "Replace video chapters"
method: PUT
path: "/v1/videos/{id}/chapters"
tags: ["Videos"]
---

# Replace video chapters

`PUT /v1/videos/{id}/chapters`

Replaces the complete chapter list. Timestamps are seconds on the final video timeline and must be non-negative, ascending, and within the video duration. Pass an empty array to clear all chapters.

## Path parameters

- `id` string, required — Unique video identifier

## Request body

- object — Replace all chapters on a video
  - `chapters` ChapterInput[], required — Complete replacement chapter list in ascending timestamp order (maximum 100). Pass an empty array to clear all chapters.
    - `description` string, required — Chapter description. Lines formatted like a timestamp followed by a title are not allowed.
    - `timestampSeconds` integer, required — Chapter start time in whole seconds
    - `title` string, required — Single-line chapter title

## Response `200`

Chapters replaced

- object — Video chapters
  - `chapters` Chapter[], required — Chapters on the final video timeline, ordered by timestamp
    - `description` string, required — Chapter description
    - `timestampSeconds` number, required — Chapter start time in seconds
    - `title` string, required — Chapter title

## Other responses

- `400` — The request was malformed or contained invalid parameters.
- `401` — Authentication is required. Provide a valid API key.
- `403` — You don't have permission to access this resource.
- `404` — The requested resource was not found.
- `429` — You have exceeded the rate limit. Please slow down.
- `500` — An unexpected error occurred
- `501` — The requested operation is not implemented.

---

[API](https://skmtc.dev/withchima/apis/tella-public-api.md) · [All operations](https://skmtc.dev/withchima/apis/tella-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withchima/tella-public-api/revisions/cd69045c703a/schema)
