Add project chapter

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

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

Path parameters

project_idstringRequired

The ID of the project to be used. You can use the List projects endpoint to list all the 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

Errors

Built with