Add Chapter To A Project

POST
/v1/projects/:project_id/chapters/add

Creates a new chapter either as blank or from a URL.

Path parameters

project_idstringRequired

The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects.

Request

This endpoint expects an object.
namestringRequired

The name of the chapter, used for identification only.

from_urlstringOptional

An optional URL from which we will extract content to initialize the project. If this is set, ‘from_url’ must be null. If neither ‘from_url’ or ‘from_document’ are provided we will initialize the project as blank.

Response

Successful Response

chapterobject