Authorizations
The app API key from an app from the /dashboard/developer page
Body
Parameters for CreateLesson
The ID of the chapter to create the lesson in
"chap_xxxxxxxxxxxxx"
The type of the lesson
text, video, pdf, multi, quiz, knowledge_check The content of the lesson
Days from course start until unlock
42
ID for the embed (YouTube video ID or Loom share ID)
Type of embed for video lessons (youtube or loom) The type of embed for a lesson
youtube, loom The thumbnail for the lesson in png, jpeg, or gif format Input for an attachment
- AttachmentInputWithDirectUploadId
- AttachmentInputWithId
The title of the lesson
Response
A successful response
A lesson from the courses app
The ID of the lesson
"lesn_xxxxxxxxxxxxx"
The title of the lesson
The order of the lesson within its chapter
42
The type of the lesson (text, video, pdf, multi, quiz, knowledge_check)
text, video, pdf, multi, quiz, knowledge_check The visibility of the lesson. Determines how / whether this lesson is visible to users.
visible, hidden The content of the lesson
Number of days from course start until the lesson is unlocked
42
Type of embed for video lessons (youtube or loom) The type of embed for a lesson
youtube, loom ID for the embed (YouTube video ID or Loom share ID)
The timestamp of when the lesson was created
"2023-12-01T05:00:00.401Z"
The thumbnail for the lesson
The associated Mux asset for video lessons
The main PDF file for this lesson
Assessment questions for quiz/knowledge check lessons
The attached files in this lesson as a flat array

