Get the analytics of a completed occurrence.

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 attendance and engagement analytics (attendees, time spent, ratings, questions, polls) of one occurrence (talkId) of a live session. Only completed occurrences (status 5) have analytics.

Endpoint

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

OAuth Scope

TrainerCentral.talkapi.READCopied!

Headers

tc-orgIdstring(Required)

ID of the academy (orgId).

Example
51517414

Path Parameters

talkIdstring(Required)

ID of a completed occurrence (talkId).

Query Parameters

isMinimalboolean(Optional)

Has no effect; true and false return the same keys. Default false.

Example
false

Request Example

cURL
cURL
Java
Python
Deluge
Copied!
curl --request GET \
  --url 'https://trainercentral.zoho.com/tc/api/v1/trainer/talk/{talkId}/analytic.json?isMinimal=false' \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
  --header 'tc-orgId: 51517414'

Response Parameters

analyticJSON Object

Analytics of the completed occurrence.

Hide Sub-Attributes
idstring

ID of the occurrence (talkId).

talkstring

Same as id.

formattedpresentationLengthstring

Presented duration, formatted HH:MM:SS.

presentationLengthstring

Presented duration in milliseconds.

presentedOnstring

Presentation time in epoch milliseconds.

formattedPresentedOnstring

Presentation date, formatted " dd MMM yyyy".

slidesCountstring

Number of slides presented.

audienceCountstring

Number of attendees who joined.

averageAudienceTimestring

Average attendee time in milliseconds.

engagementLevelstring

Overall engagement score (0-100).

surveyQuestionCountstring

Number of feedback form questions.

surveyAnsweredAudienceCountstring

Number of attendees who answered the feedback form.

ratingsCountstring

Number of star ratings.

feedbacksCountstring

Number of written feedback answers.

averageRatingstring

Average star rating (0-5).

likesCountstring

Total number of slide likes.

audienceQuestionCountstring

Number of attendees who asked a question.

questionsCountstring

Total number of questions asked.

answeredCountstring

Number of questions answered.

conductedPollsCountstring

Number of polls run.

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_105

INVALID_TALK - talkId is not an occurrence in this academy. Send a valid talkId. Do not retry unchanged.

ST_106

TALK_NOT_COMPLETED - The occurrence is not completed, so it has no analytics. Retry after it ends.

ST_102

UNAUTHORISED_ACCESS - The user is not an academy admin or a trainer of this live session, or the plan does not include detailed analytics. Do not retry unchanged.

ST_35

TALK_DETAILED_ANALYTICS_FAILED - The analytics could not be computed. Retry after a few minutes.

Response Example

One-hour occurrence attended by 42 learners.

200
200
400
500
Copied!
  {
    "analytic": {
      "id": "3000000000050",
      "talk": "3000000000050",
      "formattedpresentationLength": "01:00:00",
      "presentationLength": "3600000",
      "presentedOn": "1764599400000",
      "formattedPresentedOn": " 01 Dec 2025",
      "slidesCount": "12",
      "audienceCount": "42",
      "averageAudienceTime": "2700000",
      "engagementLevel": "72.0",
      "surveyQuestionCount": "2",
      "surveyAnsweredAudienceCount": "30",
      "ratingsCount": "20",
      "feedbacksCount": "8",
      "averageRating": "4.0",
      "likesCount": "25",
      "audienceQuestionCount": "9",
      "questionsCount": "12",
      "answeredCount": "10",
      "conductedPollsCount": "3"
    }
  }
                
  {
    "error": {
      "code": "string",
      "codeStr": "string",
      "message": "string"
    }
  }
                
500 Request failed; see the error code.
▼ Show full