Course APIs
Delete lesson/live workshop/assignment API
Description: To delete a lesson or live workshop or assignment in a course. Request URL: <domain>/api/v4/<orgId>/sessions/<sessionId>.json [where <sessionId> refers to lesson ID or live workshop ID or assignment ID] Method: DELETE OAuth Scope: ...
Delete chapter API
Description: To delete a chapter in a course. Request URL: <domain>/api/v4/<orgId>/course/<courseId>/sections/<sectionId>.json Method: DELETE OAuth Scope: TrainerCentral.sectionapi.DELETE Parameters: Not applicable Request Body: Not applicable Sample ...
Delete course API
Description: To delete a course in an academy. Request URL: <domain>/api/v4/<orgId>/courses/<courseId>.json Method: DELETE OAuth Scope: TrainerCentral.courseapi.DELETE Parameters: Not applicable Request Body: Not applicable Sample Request: ...
Edit lesson API
Description: To edit a lesson inside a course. Request URL: <domain>/api/v4/<orgId>/sessions/<sessionId>.json Method: PUT OAuth Scope: TrainerCentral.sessionapi.UPDATE Parameters: NA Request Body: { "session": { "name":"<lesson name>", ...
Edit chapter API
Description: To edit a chapter name or reorder a chapter inside a course. Request URL: <domain>/api/v4/<orgId>/course/<courseId>/sections/<sectionId>.json Method: PUT OAuth Scope: TrainerCentral.sectionapi.UPDATE Parameters: Not applicable Request ...
Edit course API
Description: To edit a course in the academy Request URL: <domain>/api/v4/<orgId>/courses/<courseId>.json Method: PUT OAuth Scope: TrainerCentral.courseapi.UPDATE Parameters: Not applicable Request Body: { "course":{ "courseName":"<course ...
Get CourseMemberID API
Description: To fetch courseMemberId of a user. Request URL: /api/v4/<orgId>/course/<courseId>/courseMembers.json?filter=1&sort=1 Method: GET OAuth scope: TrainerCentral.courseapi.READ
Create assignment API
Description: This API helps you create an assignment in a course. Request URL: /api/v4/<orgId>/sessions.json (How do I get my orgId?) Method: POST OAuth scope: TrainerCentral.sessionapi.CREATE Parameters: { "session":{ "name":"<assignment name>", ...
Create course API
Description: To create a new course in an academy. Request URL: /api/v4/<orgId>/courses.json (How do I get my OrgId?) Method: POST OAuth scope: TrainerCentral.courseapi.CREATE Paramaters { "course":{ "courseName":"<courseName>", ...
Create chapter API
Description: To create a chapter under a course in academy Request URL: /api/v4/<orgId>/sections.json (How do I get my orgId?) Method: POST OAuth scope: TrainerCentral.sectionapi.CREATE Parameters: { "section":{ "courseId": "<courseId>", "name": ...
Create lesson API
Description: To create a lesson under a course in an academy. Request URL: /api/v4/<orgId>/sessions.json (How do I get my orgId?) Method: POST OAuth scope: TrainerCentral.sessionapi.CREATE Parameters for creating an on-demand lesson { "session":{ ...
Embed a link to a lesson API
Description: To embed a link (a link to any content material) to any lesson hosted under a course Request URL: /api/v4/<orgId>/sessionMaterials.json (How to get my OrgId?) Method: POST OAuth scope: TrainerCentral.sessionapi.CREATE Params { ...
View all courses API
Description: To fetch the list of all courses in your academy. Request URL: /api/v4/<orgId>/courses.json?limit=<Number of courses fetched in this instance>&si=<Start index> (How to get my <orgId>?) Method: GET OAuth scope: ...