LessonVersion: v3New
Create Lesson
POST/courses/products/{productId}/lessons
Create a lesson. Requires title and categoryId. Accepts lesson columns. locationId, userId, productId, originId are not accepted. Requires a Location token with courses.write.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
courses. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
productIdstring<uuid>required
Product id
Possible values: non-empty
Example:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Query Parameters
locationIdstringrequired
Location id or sub-account id is required.
Possible values: non-empty
Example:
ve9EPM428h8vShlRW1KTBody
descriptionstringnullable
visibilitystring
Available options
draftpublishedlockedposterImagestringnullable
sequenceNonumber
Example:
1commentStatusstring
Available options
visiblehiddenlockedcontentIdstringnullable
contentTypestring
Available options
videoassignmentquizaudiofunnelcommentPermissionstring
Available options
hiddenenabledlockedlockedByPoststringnullable
lockedByCategorystringnullable
certificateTemplateIdstringnullable
metaDataobjectnullable
titlestringrequired
Lesson title
Example:
Lesson 1categoryIdstringrequired
Category id
Example:
b2c3d4e5-f678-4901-bcde-f12345678901Response
Created
idstringrequired
Lesson id
Example:
c3d4e5f6-7890-4123-cdef-123456789012titlestringrequired
Example:
Lesson 1descriptionstringnullablerequired
categoryIdstringrequired
visibilitystringrequired
Available options
draftpublishedlockedposterImagestringnullablerequired
sequenceNonumberrequired
commentStatusstringrequired
Available options
visiblehiddenlockedcontentIdstringnullablerequired
contentTypestringrequired
Available options
videoassignmentquizaudiofunnelcommentPermissionstringrequired
Available options
hiddenenabledlockedlockedByPoststringnullablerequired
lockedByCategorystringnullablerequired
certificateTemplateIdstringnullablerequired
metaDataobjectnullablerequired
createdAtstringrequired
updatedAtstringrequired