Core API
Curriculum
Fetch the ordered tenant curriculum tree with courses, subjects, and lessons.
GET
/curriculumGet Curriculum Tree
Use this endpoint when your LMS or partner backend needs the full tenant curriculum in one response.
The response is ordered by course position, then subject position, then lesson position.
GET /curriculumbash
curl -X GET "https://{{domain}}/api/external/v1/curriculum" \
-H "Authorization: Bearer <your_api_key>"Sample Responsejson
{
"success": true,
"data": [
{
"id": "course-grade-7",
"title": "Grade 7",
"slug": "grade-7",
"summary": "Core middle school math curriculum",
"grade_band": "7",
"position": 1,
"subjects": [
{
"id": "subject-fractions",
"course_id": "course-grade-7",
"slug": "fractions",
"title": "Fractions",
"description": "Understand equivalent fractions and operations",
"position": 1,
"thumbnail_url": null,
"lessons": [
{
"id": "lesson-equivalent-fractions",
"subject_id": "subject-fractions",
"slug": "equivalent-fractions",
"title": "Equivalent Fractions",
"overview": "Compare and simplify fractions",
"position": 1,
"estimated_min": 20
}
]
}
]
}
],
"pagination": {
"total": 1,
"limit": 50,
"offset": 0,
"has_more": false
}
}When To Use It
Use
/curriculumfor tenant bootstrap, LMS sync, or full catalog mappingUse
/subjectswhen you only need a lighter subject list without lessonsUse
/subjects/{id}when you need the ordered lessons for one subject