API reference
Courses
A course lives in your Sublaunch's Classroom, opened by the tiers you give it. The API makes a course with its modules and lessons' names. Lessons are written in the app.
A new course and its changes reach members once you publish the draft. Deleting a course and giving it by hand take effect at once.
The course object
A course of your Sublaunch's Classroom, with the tiers that open it.
Attributes
- idstringUnique identifier for the course.
- objectstringAlways
course. - namestringThe course's name.
- descriptionstringOne line under its name.
- cover_urlstring or nullIts cover image's URL.
- urlstringThe course in the Sublaunch's Classroom.
- lessons_countintegerHow many lessons it has.
- tier_idsarray of stringsThe tiers that open it.
- livebooleanWhether members see it.
falsewhile it is only in the draft. - has_draftbooleanWhether the draft changes it.
- modulesarray of objectsIts outline, only from Retrieve a course and Create a course.
{
"id": "Hc4mQ9xRt2",
"object": "course",
"name": "Price action from zero",
"description": "Read a chart in 12 short lessons.",
"cover_url": "https://example.com/course-cover.png",
"url": "https://sublaunch.com/alphadesk/classroom/Hc4mQ9xRt2",
"lessons_count": 12,
"tier_ids": ["tier1"],
"live": true,
"has_draft": false
}List courses
Returns the Sublaunch's courses in Classroom's order, live or only in the draft.
Returns
A list of course objects, whole in one page.
curl https://api.sublaunch.com/v1/courses \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"object": "list",
"data": [
{
"id": "Hc4mQ9xRt2",
"object": "course",
"name": "Price action from zero",
"description": "Read a chart in 12 short lessons.",
"cover_url": "https://example.com/course-cover.png",
"url": "https://sublaunch.com/alphadesk/classroom/Hc4mQ9xRt2",
"lessons_count": 12,
"tier_ids": ["tier1"],
"live": true,
"has_draft": false
}
],
"has_more": false,
"next_cursor": null
}Retrieve a course
Returns one course with its outline, its modules and their lessons' names, the draft included.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
Returns
A course object with its modules.
Errors
- No course with this ID in the key's Sublaunch.
curl https://api.sublaunch.com/v1/courses/Hc4mQ9xRt2 \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Hc4mQ9xRt2",
"object": "course",
"name": "Price action from zero",
"description": "Read a chart in 12 short lessons.",
"cover_url": "https://example.com/course-cover.png",
"url": "https://sublaunch.com/alphadesk/classroom/Hc4mQ9xRt2",
"lessons_count": 12,
"tier_ids": ["tier1"],
"live": true,
"has_draft": false,
"modules": [
{
"id": "m4Kx2Q",
"title": "The basics",
"lessons": [
{
"id": "l8Qm3X",
"name": "What a candle tells you"
},
{
"id": "l2Rk7P",
"name": "Support and resistance"
}
]
}
]
}Create a course
Creates a course in Classroom with its modules and lessons' names, the lessons empty for you to write in the app. Members see it once you publish the draft.
Body parameters
- namestringRequiredThe course's name, 100 characters at most.
- descriptionstringOne line under its name, 500 characters at most.
- cover_urlstringIts cover image, a public HTTPS URL.
- modulesarray of objectsIts modules in order, 30 at most. Without them, the course starts with one empty lesson.
- tier_idsarray of stringsThe tiers that open it, by ID. Every tier by default.
Returns
The new course object with its modules.
Errors
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it. - The body has a field this endpoint does not take.
- The course could not be made. Try again.
curl -X POST https://api.sublaunch.com/v1/courses \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Options 101",
"description": "Calls, puts and how to size them.",
"modules": [
{
"title": "Getting started",
"lessons": ["What an option is", "Calls and puts", "Sizing a position"]
}
],
"tier_ids": ["tier1"]
}'{
"id": "Hn7xK2mQ4R",
"object": "course",
"name": "Options 101",
"description": "Calls, puts and how to size them.",
"cover_url": null,
"url": "https://sublaunch.com/alphadesk/classroom/Hn7xK2mQ4R",
"lessons_count": 3,
"tier_ids": ["tier1"],
"live": false,
"has_draft": false,
"modules": [
{
"id": "m7Pq2X",
"title": "Getting started",
"lessons": [
{
"id": "l3Xk9M",
"name": "What an option is"
},
{
"id": "l5Qm2R",
"name": "Calls and puts"
},
{
"id": "l9Kp4T",
"name": "Sizing a position"
}
]
}
]
}Update a course
Changes a course's name, description, cover or the tiers that open it, in the draft.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
Body parameters
- namestringThe course's name, 100 characters at most.
- descriptionstringOne line under its name, 500 characters at most.
- cover_urlstringIts cover image, a public HTTPS URL. An empty string removes it.
- tier_idsarray of stringsThe tiers that open it, by ID.
Returns
The updated course object.
Errors
- No course with this ID in the key's Sublaunch.
- A parameter has a value the API does not accept.
paramnames it. - The body has a field this endpoint does not take.
curl -X PATCH \
https://api.sublaunch.com/v1/courses/Hc4mQ9xRt2 \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Price action, the full course"
}'{
"id": "Hc4mQ9xRt2",
"object": "course",
"name": "Price action, the full course",
"description": "Read a chart in 12 short lessons.",
"cover_url": "https://example.com/course-cover.png",
"url": "https://sublaunch.com/alphadesk/classroom/Hc4mQ9xRt2",
"lessons_count": 12,
"tier_ids": ["tier1"],
"live": true,
"has_draft": true
}Delete a course
Deletes a course from Classroom at once, and its students lose it. It cannot be undone.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
Returns
An object with the course's id and deleted set to true.
Errors
- No course with this ID in the key's Sublaunch.
curl -X DELETE \
https://api.sublaunch.com/v1/courses/Hn7xK2mQ4R \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"id": "Hn7xK2mQ4R",
"object": "course",
"deleted": true
}The student object
Someone who opened a course, or was given it by hand.
Attributes
- idstring or nullUnique identifier for the student.
- objectstringAlways
student. - emailstring or nullThe student's email.
- namestring or nullThe student's name.
- accessstring
givenwhen the course was given by hand,membershipwhen a tier opens it.givenmembership - lessons_completedintegerLessons the student completed.
- notestring or nullA private note on the student, seen by the team only.
- joined_atstring or nullWhen the student started, ISO 8601.
{
"id": "St8kQ2xPmL",
"object": "student",
"email": "sam@example.com",
"name": "Sam",
"access": "membership",
"lessons_completed": 5,
"note": null,
"joined_at": "2026-09-02T18:41:07.000Z"
}List students
Returns who opened a course or was given it, newest first.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
Query parameters
- searchstringOnly the students whose email or name has these words.
- limitintegerHow many objects to return, from 1 to 100. 25 by default.
- cursorstringThe
next_cursorof the previous page, to get the page after it. Keep the other parameters the same. See Pagination.
Returns
A list of student objects.
Errors
- No course with this ID in the key's Sublaunch.
- A parameter has a value the API does not accept.
paramnames it. - The
cursoris not one this list gave, was made for other filters, or goes deeper than its limit.
curl -G \
https://api.sublaunch.com/v1/courses/Hc4mQ9xRt2/students \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-d limit=25{
"object": "list",
"data": [
{
"id": "St8kQ2xPmL",
"object": "student",
"email": "sam@example.com",
"name": "Sam",
"access": "membership",
"lessons_completed": 5,
"note": null,
"joined_at": "2026-09-02T18:41:07.000Z"
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0"
}Give a course
Gives a course to an email by hand, as Students' Add in the app, with no membership. That person opens it once signed in with this email.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
Body parameters
- emailstringRequiredWho gets the course.
- notestringA private note on the student, seen by the team only.
Returns
An object with the course_id, the email, access set to given, and already set to true when the email had the course already.
Errors
- No course with this ID in the key's Sublaunch.
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it.
curl -X POST \
https://api.sublaunch.com/v1/courses/Hc4mQ9xRt2/students \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "jordan@example.com"
}'{
"object": "student",
"course_id": "Hc4mQ9xRt2",
"email": "jordan@example.com",
"access": "given",
"already": false
}Take a course back
Takes back a course given by hand. A member whose tier opens the course keeps it.
Path parameters
- course_idstringRequiredThe course's ID, as List courses returns it.
- emailstringRequiredThe student's email.
Returns
An object with the course_id, the email and removed set to true.
Errors
- No course with this ID in the key's Sublaunch.
curl -X DELETE \
https://api.sublaunch.com/v1/courses/Hc4mQ9xRt2/students/jordan@example.com \
-H "Authorization: Bearer $SUBLAUNCH_API_KEY"{
"object": "student",
"course_id": "Hc4mQ9xRt2",
"email": "jordan@example.com",
"removed": true
}