Skip to main content
POST
Create course chapter
Required permissions:
  • courses:update

Autorisationer

Authorization
string
header
påkrævet

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Scopes

courses:update

Krop

application/json

Parameters for CreateChapter

course_id
string
påkrævet

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

Eksempel:

"cors_xxxxxxxxxxxxx"

title
string | null

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

Svar

A successful response

A grouping of related lessons within a course, used to organize content into sections.

id
string
påkrævet

The unique identifier for the chapter.

Eksempel:

"chap_xxxxxxxxxxxxx"

lessons
object[]
påkrævet

An ordered list of lessons in this chapter, sorted by display position. Hidden lessons are excluded for non-admin users.

order
integer
påkrævet

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

Eksempel:

42

title
string
påkrævet

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

Eksempel:

"Getting Started"