Update a live session.
Updates the name, description, schedule or time zone of a live workshop or live lesson. For a one-time session, a schedule change also moves its occurrence (talkId); recurring occurrences are rescheduled separately.
Endpoint
put https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/sessions/{sessionId}.json
OAuth Scope
Headers
ID of the academy (orgId).
Path Parameters
ID of the live session (sessionId): a live workshop or a live lesson.
Request Body
application/jsonLive session values to change; omitted keys keep their values.
Hide Sub-Attributes
New name of the live session. Max 255 characters.
Description of the live session. Supports rich text. An empty string removes it.
New start time in epoch milliseconds. For a one-time session the occurrence moves too.
New end time in epoch milliseconds, later than scheduledTime.
IANA time zone of the schedule, for example Asia/Kolkata.
curl --request PUT \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/sessions/{sessionId}.json \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--header 'tc-orgId: 51517414' \
--data '{"session":{"name":"Python Live Q&A","description":"<p>Bring your Python questions.</p>"}}' {
"session": {
"name": "Python Live Q&A",
"description": "<p>Bring your Python questions.</p>"
}
}
{
"session": {
"scheduledTime": 1800419400000,
"scheduledEndTime": 1800423000000,
"timezone": "Asia/Kolkata"
}
}
Response Parameters
The session with its latest values.
Hide Sub-Attributes
ID of the session (live workshop or course lesson).
Name of the session.
URL slug of the session.
Time zone of the schedule, for example Asia/Kolkata.
Schedule type. Allowed: 0=One-time, 1=Recurring.
Description of the session. Supports rich text.
Maximum number of attendees.
URL for attendees to join.
Start time in epoch milliseconds.
End time in epoch milliseconds.
Recurring pattern. Allowed: 0=Not recurring, 1=Daily, 2=Weekly, 3=Monthly.
Delivery mode. Allowed: 3=Live session, 4=On-demand, 7=Assignment.
ID of the academy (orgId).
Name of the academy.
User ID of the trainer who scheduled the session.
User ID of the creator.
Created time in epoch milliseconds.
Same as sessionId.
Registration model. Allowed: 0=One registration for all occurrences, 1=Registration per occurrence.
Allowed: 0=Draft, 1=Published.
Allowed: 0=Default, 1=Featured.
Position of the lesson in its chapter (0-based).
The rescheduled occurrence. Returned only when a one-time session's schedule changes.
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.
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_79 | INVALID_SESSION - The sessionId does not match a session in this academy. Pass a valid sessionId. Do not retry unchanged. |
| ST_401 | SESSION_DELETED - The session was deleted. Use a session that is not deleted. Do not retry unchanged. | |
| ST_102 | UNAUTHORISED_ACCESS - The user is not an academy owner or admin, the primary trainer, or (for a live lesson) a course admin or trainer. Call with one of these roles; do not retry unchanged. | |
| ST_83 | EDIT_SESSION_FAILED - The live session could not be updated, for example deliveryMode was sent as 4. Leave deliveryMode out; if it still fails, retry later. |
{
"session": {
"sessionId": "3000000000050",
"id": "3000000000050",
"name": "Python Live Q&A",
"deliveryMode": "3",
"scheduleType": "0",
"registrationType": "0",
"scheduledTime": "1800419400000",
"scheduledEndTime": "1800423000000",
"timezone": "Asia/Kolkata",
"uniqueKey": "python-live-q-a",
"publishStatus": "0",
"kind": "0",
"orgId": "51517414",
"scheduledBy": "51456901",
"createdTime": "1782727568966"
},
"talks": [
{
"talkId": "3000000000052",
"id": "3000000000052",
"sessionId": "3000000000050",
"name": "Python Live Q&A",
"status": "1",
"deliveryMode": "3",
"scheduledTime": "1800419400000",
"scheduledEndTime": "1800423000000",
"orgId": "51517414",
"owner": "51456901"
}
]
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.