- Social
- Comments
- Posts
- Reactions
- Story Groups
- Stories
- Social Views
- Social Collections
- Saved Posts
- Hidden Socials
- Calendar
- Calendars
- Events
- Event Rooms
- Authentication
- Global
- Profile
- Organizations
- Search Brand Fetch Brands
- Verify Organization
- Remove a Site
- Create a Site
- Invite Organization Branch
- List All Branches
- Accept Branch Invitation
- Decline Branch Invitation
- List All Organization Collaborators
- List All Organizations
- Search Organizations
- Retrieve an Organization
- Update an Organization
- Delete an Organization
- Create an Organization
- Search Brands
- List All Social Links
- Members
- List All Members
- Search Members
- Invite Organization Members
- Delete Invitation
- Update a Member
- Retrieve a Member
- Delete a Member
- Delete Multiple Members
- Accept Organization Invitation
- Decline Organization Invitation
- Check Member Existence
- Retrieve Invitation Link
- Retrieve Invitation Object
- Retrieve Non-Paginated Organization Members
- List All Resources of an Organization
- Update Member Resource Roles-V1
- Update Member Resource Roles-V2
- Followers
- Groups
- Profiles
- Experiences
- Group Members
- Profile Search History
- Alumni
- Favorites
- Retrieve an Invitation link
- Organizations
- Notification
- Storage
- Space
- Folders
- Space Members
- Check Member Existence
- List All Members
- Search Members
- Search Potential Members
- Add a Member
- Invite Members
- Retrieve an Invitation Link
- Accept an Invitation
- Decline an Invitation
- Update a Member
- Assign License
- Assign License to an Organization Group
- Remove a License
- Search License-Assigned Members and Groups
- Remove a Member
- Delete an Invitation
- Leave a Space
- Spaces
- Health
- Course
- Course Versions
- Completions
- Certificates
- Courses
- List All Courses
- Publish a Course
- Delete a Course
- Retrieve a Course
- Create a Course
- Update a Course
- Search a Course
- Delete All Course
- Review a Course
- Start a Course
- Create a Cycle
- Delete a Cycle
- Clone a Course
- Update Cycles
- List All Courses With Published Verifying Status
- Search Courses With Published Verifying Status
- List All Languages Course Count
- List All Skills Course Count
- Update a Course Certificate
- Create a Coupon
- Update a Coupon
- Delete a Coupon
- Update Version
- Compare Latest Course
- Categories
- Course Members
- Chapters
- Lectures
- Subjects
- Webhook
- Analytics
Create a Chapter
Testing
POST
/courses/{courseId}/chapters
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/courses//chapters' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Chapter 4"
}'
Response Response Example
201 - Success
{
"id": "14074adb6dfab642739664da",
"courseId": "fac1a6da588adc00cab087d5",
"name": "Chapter 1",
"description": "Chapter 1 description",
"dates": {
"startDate": "2004-07-27T12:54:06.443Z",
"endDate": "2053-11-12T22:22:52.269Z"
},
"lectures": [
"fb3ee7b41aff46e5500a31b8"
],
"completion": {
"chapterId": "6662c783d003f900eb646083",
"completions": [],
"average": 0
},
"status": "draft",
"lecturesDuration": 97421,
"createdAt": "2058-01-22T18:01:59.500Z",
"updatedAt": "2051-11-28T08:52:38.085Z"
}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
courseId
stringÂ
required
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
name
stringÂ
required
description
stringÂ
optional
cycles
object (cycles.model)Â
optional
dates
object (dates.model)Â
required
id
stringÂ
optional
lecturesDuration
integerÂ
optional
mandatory
booleanÂ
optional
suspension
stringÂ
optional
Examples
Responses
🟢201Created
application/json
Body
id
stringÂ
required
courseId
stringÂ
optional
name
stringÂ
required
description
stringÂ
optional
dates
object (dates.model)Â
optional
startDate
stringÂ
optional
endDate
stringÂ
optional
lectures
array[string]
optional
lecturesDuration
integerÂ
optional
status
stringÂ
optional
mandatory
booleanÂ
optional
createdAt
stringÂ
optional
updatedAt
stringÂ
optional
🟠401Unauthorized
🟠403Forbidden
🟠422Parameter Error
Modified at 2025-04-21 11:02:02