Mark a lesson completed for a learner.
Marks one lesson completed or not completed for a learner and recalculates their progress. Note the inverted flag: isSessionComplete false marks the lesson completed.
Endpoint
post https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/course/{courseId}/manualLessonCompletion.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the course.
Request Body
application/jsonInverted flag: false marks the lesson completed; true marks it not completed.
Lesson occurrence and learner to update.
Hide Sub-Attributes
Occurrence ID (talkId) of the lesson, not its sessionId.
courseMemberId of the learner (role 3).
curl --request POST \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/course/{courseId}/manualLessonCompletion.json \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--header 'tc-orgId: 51517414' \
--data '{"isSessionComplete":false,"session":{"courseMemberId":3000000000090,"talkId":3000000000052}}' {
"isSessionComplete": false,
"session": {
"courseMemberId": 3000000000090,
"talkId": 3000000000052
}
}
{
"isSessionComplete": true,
"session": {
"courseMemberId": 3000000000090,
"talkId": 3000000000052
}
}
Response Parameters
The learner's course progress after the change.
Hide Sub-Attributes
courseMemberId of the learner.
Number of lessons completed.
Course completion percentage (0-100).
true when a trainer marked the whole course completed.
true when the lesson is now completed; false when not.
Error details.
Hide Sub-Attributes
Deprecated numeric error code (for example ST_202). Prefer codeStr; omitted from doc samples.
Error code name (ShowtimeErrorCode / err_code_str), for example MISSING_PARAMETER.
Error message.
Possible Error Codes
| HTTP Code | Error Code | Description |
|---|---|---|
| 500 | ST_102 | UNAUTHORISED_ACCESS - The user is not an academy owner, admin or trainer of this course, or the course is not in this academy. Do not retry unchanged. |
| ST_84 | INVALID_ACTION - No lesson progress for this talkId and learner. Check that talkId is in this course and the learner is enrolled. Do not retry unchanged. |
{
"isCompleted": "true",
"courseMember": {
"id": "3000000000090",
"completedLesson": "2",
"completionPercentage": "50",
"isCourseCompletedByTrainer": "false"
}
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.Rate Limits
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.