Create a live workshop.
Creates a standalone live workshop and schedules its occurrences (talkId): one for a one-time workshop, or one per date for a recurring one. Send deliveryMode 3.
Endpoint
post https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/sessions.json
OAuth Scope
Headers
ID of the academy (orgId).
Request Body
application/jsonThe live workshop to create.
Hide Sub-Attributes
Name of the live workshop. Max 255 characters.
Plain-text version of the description.
Description of the workshop. Supports rich text.
Start of the first occurrence in epoch milliseconds, within 2 years. Default: now.
End of the occurrence, or for a recurring workshop the end of the series (required), in epoch milliseconds.
Length of each occurrence in milliseconds, for example 3600000 for 1 hour.
Delivery mode. Allowed: 3=Live session.
IANA time zone of the schedule, for example Asia/Kolkata. Recurrence times are read in this zone.
Settings of the workshop. For a recurring workshop, set recurringType to match recurrence.recurringType.
Show Sub-Attributes
true makes attendees register before they can join.
Schedule pattern. Allowed: 0=One-time (default), 1=Daily, 2=Weekly, 3=Monthly.
Registration of a recurring workshop. Allowed: 0=One for all occurrences (default), 1=Separate per occurrence.
Recurrence rule, as a JSON object. Used when sessionSettings.recurringType is 1, 2 or 3.
Show Sub-Attributes
How often it repeats. Allowed: 1=Daily, 2=Weekly, 3=Monthly.
Interval between occurrences. Daily 1-15, weekly 1-6, monthly 1-6.
Weekdays to repeat on. Required when recurringType is 2.
Show Sub-Attributes
Show Sub-Attributes
Weekday. Allowed: 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday, 5=Thursday, 6=Friday, 7=Saturday.
Start time as HH:mm in the session time zone.
Length of the occurrence in milliseconds.
Day of the month to repeat on. Required when recurringType is 3.
Show Sub-Attributes
Day of the month (1-31). Or send nthWeek with monthlyRecurringWeekDay.
Week of the month (1-4).
Weekday. Allowed: 1=Sunday … 7=Saturday.
curl --request POST \
--url https://trainercentral.zoho.com/tc/api/v1/trainer/sessions.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>","deliveryMode":3,"scheduledTime":1800419400000,"scheduledEndTime":1800423000000,"timezone":"Asia/Kolkata","durationTime":3600000,"sessionSettings":{"recurringType":0,"registrationRequired":true}}}' {
"session": {
"name": "Python Live Q&A",
"description": "<p>Bring your Python questions.</p>",
"deliveryMode": 3,
"scheduledTime": 1800419400000,
"scheduledEndTime": 1800423000000,
"timezone": "Asia/Kolkata",
"durationTime": 3600000,
"sessionSettings": {
"recurringType": 0,
"registrationRequired": true
}
}
}
{
"session": {
"name": "Weekly Python Clinic",
"deliveryMode": 3,
"scheduledTime": 1800419400000,
"scheduledEndTime": 1806514200000,
"timezone": "Asia/Kolkata",
"durationTime": 3600000,
"sessionSettings": {
"recurringType": 2,
"registrationType": 0,
"registrationRequired": true
},
"recurrence": {
"recurringType": 2,
"repeatEvery": 1,
"weeklyOccurences": [
{
"day": 4,
"startTime": "10:00"
},
{
"day": 6,
"startTime": "10:00"
}
]
}
}
}
Response Parameters
The live session.
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).
Trainers and guest presenters; role 1 is the primary trainer.
Hide Sub-Attributes
Show Sub-Attributes
ID of the session member (registration).
Email address of the member.
Name of the member.
User ID of the member.
ID of the session.
ID of the academy (orgId).
Role in the session. Allowed: 1=Trainer, 2=Co-trainer, 3=Learner, 4=Guest presenter.
Same as sessionMemberId.
Registration status. Allowed: 1=Registered, 0=Invited, -1=Waiting for approval, -2=Denied, -3=Cancelled by learner, -4=Invitation cancelled.
true when the learner has registered.
How the member was added. Allowed: 1=Invited, 2=Self registration, 3=CRM, 4=Zapier invite, 5=Zapier registration, 6=Zoho Flow invite, 7=Zoho Flow registration.
Allowed: 0=Yet to pay, 1=Paid, 2=Failed, 3=Cancelled, 4=Refunded, 5=Unpaid (inactive), 6=Unpaid, -2=Pending.
Academy member ID.
Added time in epoch milliseconds.
Last updated time in epoch milliseconds.
Invite mail status. Allowed: 0=Not sent, 1=Sent, 2=Failed.
Occurrences (talkId) of the session.
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.
Occurrences that are live now. Get Live Session Details only.
Settings of the occurrences. Get Live Session Details only.
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_406 | FEATURE_NOT_AVAILABLE - Live sessions, or recurring sessions, are not on the academy plan. Upgrade the plan or send recurringType 0. Do not retry unchanged. |
| ST_100 | SESSION_DATE_LIMIT_EXCEED - scheduledTime or scheduledEndTime is more than 2 years from now. Send dates within 2 years. Do not retry unchanged. | |
| ST_91 | RECURRING_SESSION_LIMIT_EXCEED - The recurrence creates more than 50 occurrences. Shorten the series or repeat less often. Do not retry unchanged. | |
| ST_102 | UNAUTHORISED_ACCESS - The user cannot schedule sessions in this academy. Call with an academy owner, admin or trainer; do not retry unchanged. | |
| ST_76 | SCHEDULE_SESSION_FAILED - The workshop could not be created, for example name, deliveryMode, scheduledEndTime or timezone is missing, or a value has the wrong type. Fix the body and send it again. |
{
"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"
},
"sessionMembers": [
{
"sessionMemberId": "3000000000060",
"id": "3000000000060",
"sessionId": "3000000000050",
"userId": "51456901",
"name": "Priya Raman",
"emailId": "priya.raman@example.com",
"role": "1",
"status": "1",
"source": "1",
"orgId": "51517414"
}
],
"talks": [
{
"talkId": "3000000000052",
"id": "3000000000052",
"sessionId": "3000000000050",
"name": "Python Live Q&A",
"status": "1",
"deliveryMode": "3",
"scheduledTime": "1800419400000",
"scheduledEndTime": "1800423000000",
"orgId": "51517414",
"owner": "51456901"
}
],
"sessionCategories": []
}
{
"error": {
"code": "string",
"codeStr": "string",
"message": "string"
}
}
500 Request failed; see the error code.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.