Course endpoints sit under
/api/brands/{brand}/courses/ with brandAccess middleware. Authenticate with EF-Access-Key.List Courses
cURL
List Courses (Unpaginated)
{ id, title } for all courses — useful for dropdowns.
Get Course
Create Course
embedded (content lives inline on a page) or module (dedicated course pages on a domain)cURL
Update Course
title, language_code, description, status, and delivery_type are required.
Delete Course
Copy Course to Another Brand
Enrollments
List Enrollments
Get Enrollment
Enroll Student
cURL
Update Enrollment Notes
Complete Content Item
Mark a specific content item as completed for an enrolled student.This endpoint is idempotent — marking an already-completed item again does not create duplicates.
Remove Enrollment
Modules
List Modules
List Modules (Unpaginated)
{ id, title } array — cached.
Create Module
Update Module
Delete Module
Reorder Modules
Notes
- Enrollment IDs are Elasticsearch document IDs (strings), not numeric database IDs
- File uploads (
logo,cover,instructor_photo) are stored on BunnyCDN — you can provide a URL string instead of uploading a file - The
copyendpoint replicates the course’s modules and all content to the target brand progress_percentis recalculated automatically when content is marked complete