Courses::Section
Create Section
Add a new Section
post/courses/{course_id}/sections
Path parameters
course_idinteger required
Request body
Example request
{
"courses_section": {
"courses_section": {
"title": "Module 1",
"description": "Example Course Section",
"days_till_drip_access": 5,
"blocker_section_id": 123,
"blocker_lesson_id": 123,
"is_hidden_from_non_members": true
}
}
}Response
Created
Example response
{
"id": 1,
"public_id": "sSwcZK",
"course_id": 3,
"title": "Module 1",
"published_at": "2025-01-01T00:00:00.000Z",
"description": "Example Course Section",
"days_till_drip_access": 5,
"blocker_section_id": null,
"blocker_lesson_id": null,
"current_path": "/section-example",
"is_hidden_from_non_members": true,
"upgrade_url": null,
"parent_id": null,
"sort_order": 0,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}