---
title: "Creates a new chapter to a given media."
method: POST
path: "/1/vod/channel/{channel}/media/{media}/chapter"
tags: ["V2 > Chapter"]
---

# Creates a new chapter to a given media.

`POST /1/vod/channel/{channel}/media/{media}/chapter`

## Path parameters

- `channel` integer, required
- `media` integer, required

## Request body

- object
  - `media_id` integer, required — <br/>This field must exist on the `medias` database in the `id` column.
  - `timestamp` number, required — <br/>This field must not exist on the `chapters` database in the `NULL` column.
  - `name` string
  - `description` string
  - `published` boolean
  - `image` string
  - `image_mimetype` string — <br/>This field must be present and not empty only if any of the following fields are present:`image`

## Response `201`

Created

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` Acfc41a0Chapter
    - `timestamp` number, required
    - `name` string
    - `description` string
    - `published` boolean
    - `image` string

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
