List the live workshop occurrences of the academy.

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Returns live workshop occurrences (talkId) with their live sessions, trainers and categories. Use filter to pick upcoming, past or cancelled occurrences; results are paginated with si and limit.

Endpoint

get https://{TrainerCentral-API-Domain}/tc/api/v1/trainer/talks.json

OAuth Scope

TrainerCentral.talkapi.READCopied!

Headers

tc-orgIdstring(Required)

ID of the academy (orgId).

Example
51517414

Query Parameters

siinteger(Optional)

Start index (0-based) of the first occurrence. Default 0.

Example
0
limitinteger(Optional)

Number of occurrences per page. Max 50. Default 15.

Example
10
Minimum Value :11Copied!
Maximum Value :5050Copied!
sortinteger(Optional)

Sort key. Allowed: 0 or 1=Scheduled time, 2=Registrant count (upcoming filters), 3=Attendee count (past filters). Default 0.

Example
1
filterinteger(Optional)

Which occurrences to list (My = live sessions the caller trains). Allowed: 1=My upcoming and live, 2=My past, 3=Upcoming of other trainers, 4=Past of other trainers, 5=All upcoming, 6=All past, 10=Not conducted, 11=Cancelled. Default 1.

Example
1
Minimum Value :11Copied!
Maximum Value :1111Copied!
kindinteger(Optional)

Live session filter for filter 3 or 5. Allowed: 0=All, 1=Featured only, -1=Registered by the caller, -2=Published only. Default 0.

Example
0
categorystring(Optional)

Category name of the live session (exact match). Used with filter 3 or 5 and kind -1 or -2.

Example
Data Science
searchquerystring(Optional)

Text to search for in the live session name.

Example
python
searchTextstring(Optional)

Not used; use searchquery.

sessionTypeinteger(Optional)

Ignored by this API.

deliveryModeinteger(Optional)

Delivery mode of the occurrences. Allowed: 0=Default, 1=Face to face, 3=Online live, 4=On-demand (recorded). Default 0.

Example
3

Request Example

cURL
cURL
Java
Python
Deluge
Copied!
curl --request GET \
  --url 'https://trainercentral.zoho.com/tc/api/v1/trainer/talks.json?si=0&limit=10&sort=1&filter=1&kind=0&category=Data%20Science&searchquery=python&searchText=SOME_STRING_VALUE&sessionType=SOME_INTEGER_VALUE&deliveryMode=3' \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
  --header 'tc-orgId: 51517414'

Response Parameters

sessionsJSON Array

Live sessions of the returned occurrences.

Hide Sub-Attributes
JSON Object
Show Sub-Attributes
sessionIdstring

ID of the session (live workshop or course lesson).

namestring

Name of the session.

uniqueKeystring

URL slug of the session.

timezonestring

Time zone of the schedule, for example Asia/Kolkata.

scheduleTypestring

Schedule type. Allowed: 0=One-time, 1=Recurring.

descriptionstring

Description of the session. Supports rich text.

attendeeLimitstring

Maximum number of attendees.

joinURLstring

URL for attendees to join.

scheduledTimestring

Start time in epoch milliseconds.

scheduledEndTimestring

End time in epoch milliseconds.

recurringTypestring

Recurring pattern. Allowed: 0=Not recurring, 1=Daily, 2=Weekly, 3=Monthly.

deliveryModestring

Delivery mode. Allowed: 3=Live session, 4=On-demand, 7=Assignment.

orgIdstring

ID of the academy (orgId).

orgNamestring

Name of the academy.

scheduledBystring

User ID of the trainer who scheduled the session.

createdBystring

User ID of the creator.

createdTimestring

Created time in epoch milliseconds.

idstring

Same as sessionId.

registrationTypestring

Registration model. Allowed: 0=One registration for all occurrences, 1=Registration per occurrence.

publishStatusstring

Allowed: 0=Draft, 1=Published.

kindstring

Allowed: 0=Default, 1=Featured.

sessionIndexstring

Position of the lesson in its chapter (0-based).

sessionCategoriesarray

Category mappings (id, session, category) of the returned live sessions.

sessionMembersarray

Trainers of the returned live sessions.

talksJSON Array

Occurrences on this page.

Hide Sub-Attributes
JSON Object
Show Sub-Attributes
talkIdstring

ID of the occurrence (talkId).

namestring

Name of the occurrence.

sessionIdstring

ID of the live session.

orgIdstring

ID of the academy (orgId).

statusstring

Status of the occurrence. Allowed: 0=Yet to start, 1=Scheduled, 2=Projected, 3=Started, 4=Suspended, 5=Completed, 6=Orphaned, 7=Cancelled.

registeredCountstring

Number of registered learners.

scheduledTimestring

Start time in epoch milliseconds.

scheduledEndTimestring

End time in epoch milliseconds.

deliveryModestring

Delivery mode. Allowed: 3=Live session, 4=On-demand, 7=Assignment.

idstring

Same as talkId.

ownerstring

User ID of the trainer who owns the occurrence.

runningTalksarray

Live state of the occurrences running now.

talkPresentersDetailsarray

Trainers who presented each occurrence (past filters only).

metaJSON Object

Counts for pagination.

Hide Sub-Attributes
totalSessionsCountstring

Total number of matching occurrences across all pages.

errorJSON Object

Error details.

Hide Sub-Attributes
codestring

Deprecated numeric error code (for example ST_202). Prefer codeStr; omitted from doc samples.

codeStrstring

Error code name (ShowtimeErrorCode / err_code_str), for example MISSING_PARAMETER.

messagestring

Error message.

Possible Error Codes

HTTP CodeError CodeDescription
500ST_77

SESSIONSLIST_FAILED - The list could not be loaded, for example filter 3 to 6 sent by a user who is not an academy owner or admin. Use another filter or an admin user. Do not retry unchanged.

ST_102

UNAUTHORISED_ACCESS - The user is not an active member of the academy in tc-orgId. Fix tc-orgId or the user. Do not retry unchanged.

Response Example

Filter 1: one upcoming occurrence.

200
200
400
500
Copied!
  {
    "sessions": [
      {
        "sessionId": "3000000000040",
        "name": "Live Q&A Session",
        "deliveryMode": "3",
        "joinURL": "https://academy.example.com/meeting/register/3000000000040"
      }
    ],
    "sessionMembers": [],
    "talks": [
      {
        "talkId": "3000000000050",
        "sessionId": "3000000000040",
        "name": "December Live Workshop",
        "scheduledTime": "1764599400000",
        "scheduledEndTime": "1764603000000",
        "registeredCount": "12",
        "deliveryMode": "3",
        "status": "1"
      }
    ],
    "runningTalks": [],
    "sessionCategories": [],
    "meta": {
      "totalSessionsCount": "1"
    }
  }
                
  {
    "error": {
      "code": "string",
      "codeStr": "string",
      "message": "string"
    }
  }
                
500 Request failed; see the error code.
▼ Show full

Rate Limits

Duration1 minute
Threshold20

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.