Skip to main content

Create a lesson

The purpose of this API is to create a lesson.

Request URL:https://learn.zoho.com/learn/api/v1/portal/<portalUrl>/course/<courseId>/lesson
OAuth Scope:ZohoLearn.lesson.CREATE
Request Method:POST
ParameterDescriptionRequired
namestringRequired
typeTEXT or DOCUMENT or VIDEO or IMAGE or BLOCK or QUIZ or CHAPTER or ASSIGNMENTOptional

Response

Copied{
   "STATUS": "OK",
   "LESSON": {
       "modifiedTime": "1689253054815",
       "elapsedLongTime": "0",
       "type": "TEXT",
       "url": "course-1",
       "courseName": "Course 1",
       "currentQuestionNumber": "0",
       "lessonVersion": "0.0",
       "learnerStatus": "0.0",
       "createdBy": "799705715",
       "lessonMeta": {
           "EDIT_ZFS_ID": "5145876000000115003",
           "lastupdatedid": "0",
           "blockordermap": "{\"0\":0}",
           "VIEW_ZFS_ID": "5145876000000115003"
       },

       "name": "Course 1",
       "canFavourite": "true",
       "createdTime": "1689253054687",
       "modifiedBy": "799705715",
       "canDelete": "true",
       "id": "6342496000000086179",
       "courseId": "6342496000000086001",
       "status": "UNPUBLISHED",
       "order": "0",
       "lessons": []
   }
}

Show full

Show less

Sample URL

Copiedhttps://learn.zoho.com/learn/api/v1/portal/zylker-network/course/6342496000000086001/lesson