v8

OpenAPI 3.1.02026-08-033623795.0 MB
Course chapters

Create course chapter

Create a new chapter within a course to organize lessons into sections.

Required permissions:

  • courses:update
post/course_chapters

Request body

course_idstring required

The unique identifier of the course to create the chapter in (e.g., "course_XXXXX").

titlestring nullable

The display title of the chapter (e.g., "Module 1: Introduction").

Example request

{
  "course_id": "cors_xxxxxxxxxxxxx"
}

Response

A successful response

idstring required

The unique identifier for the chapter.

orderinteger required

The sort position of this chapter within its parent course, starting from zero.

titlestring required

The display name of the chapter shown to students. Maximum 150 characters.

Example response

{
  "id": "chap_xxxxxxxxxxxxx",
  "lessons": [
    {
      "id": "lesn_xxxxxxxxxxxxx",
      "order": 42,
      "title": "Understanding Candlestick Patterns"
    }
  ],
  "order": 42,
  "title": "Getting Started"
}