List the lessons of a course.
Returns all lessons of a course, including drafts, with their occurrence (talks) and settings records. Send limit to paginate from si; meta.sessionsCount gives the total when si is 0.
Endpoint
get https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/course/{courseId}/sessions.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the course.
Query Parameters
Start index for pagination, used with limit. Default 0.
Maximum lessons to return. When omitted, all lessons are returned. Min 1.
curl --request GET \
--url 'https://trainercentral.zoho.com/tc/api/v1/trainer/course/{courseId}/sessions.json?si=0&limit=20' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'tc-orgId: 51517414'Response Parameters
Lessons of the course, including drafts.
Hide Sub-Attributes
Show Sub-Attributes
ID of the lesson (sessionId).
Same as sessionId.
Name of the lesson.
Description of the lesson. Supports rich text.
Lesson type. Allowed: 3=Live session, 4=On-demand lesson, 7=Assignment.
Zero-based position of the lesson in its chapter.
ID of the chapter (section) that holds the lesson.
ID of the course the lesson belongs to.
ID of the academy (orgId).
true when the lesson is a draft, hidden from learners.
true when learners must complete this lesson before later lessons.
Publish status of the lesson. Allowed: 0=Unpublished, 1=Published.
Live lessons only. Start time in epoch milliseconds.
Live lessons only. End time in epoch milliseconds.
Live lessons only. IANA time zone, for example Asia/Kolkata.
Schedule type. Allowed: 0=One-time, 1=Recurring. Always 0 for lessons.
Visibility. Allowed: 0=Default, 1=Featured.
User ID of the trainer who created the lesson.
Same as courseId.
Creation time in epoch milliseconds.
Occurrence records of the listed lessons, matched by sessionId.
Hide Sub-Attributes
Show Sub-Attributes
ID of the occurrence (talkId).
Name of the occurrence.
ID of the live session.
ID of the academy (orgId).
Status of the occurrence. Allowed: 0=Yet to start, 1=Scheduled, 2=Projected, 3=Started, 4=Suspended, 5=Completed, 6=Orphaned, 7=Cancelled.
Number of registered learners.
Start time in epoch milliseconds.
End time in epoch milliseconds.
Delivery mode. Allowed: 3=Live session, 4=On-demand, 7=Assignment.
Same as talkId.
User ID of the trainer who owns the occurrence.
Settings records of the listed lessons.
Presenters of completed live occurrences.
Lesson count. Returned when limit is sent and si is 0.
Hide Sub-Attributes
Total number of lessons. Returned when limit is sent and si is 0.
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_94 | INVALID_COURSE - The courseId does not match a course in this academy, or the course is deleted. Pass a valid courseId. Do not retry unchanged. |
| ST_102 | UNAUTHORISED_ACCESS - The user is not an academy owner or admin, or an admin or trainer of this course. Call with one of these roles; do not retry unchanged. |
{
"sessions": [
{
"sessionId": "3000000000040",
"id": "3000000000040",
"name": "Python Basics - Variables",
"courseId": "3000000000022",
"sectionId": "3000000000026",
"sessionIndex": "0",
"deliveryMode": "4",
"enableDraft": "false",
"enablePrerequisite": "false",
"publishStatus": "1",
"orgId": "51517414"
},
{
"sessionId": "3000000000045",
"id": "3000000000045",
"name": "Live Doubt Clearing",
"courseId": "3000000000022",
"sectionId": "3000000000026",
"sessionIndex": "1",
"deliveryMode": "3",
"scheduledTime": "1800419400000",
"scheduledEndTime": "1800423000000",
"timezone": "Asia/Kolkata",
"enableDraft": "true",
"enablePrerequisite": "false",
"publishStatus": "0",
"orgId": "51517414"
}
],
"talks": [
{
"talkId": "3000000000046",
"id": "3000000000046",
"sessionId": "3000000000045",
"name": "Live Doubt Clearing",
"status": "1",
"deliveryMode": "3",
"scheduledTime": "1800419400000",
"scheduledEndTime": "1800423000000"
}
],
"sessionSettings": [],
"meta": {
"sessionsCount": "2"
}
}
{
"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.