List the reviews of a course.

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 the learner ratings and feedback of a course, with a status filter and pagination (si, limit). The total count is returned in meta only when si is 0.

Endpoint

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

OAuth Scope

TrainerCentral.reviews.READCopied!

Headers

tc-orgIdstring(Required)

ID of the academy (orgId).

Example
51517414

Path Parameters

courseIdstring(Required)

ID of the course.

Query Parameters

statusinteger(Optional)

Review status. Allowed: 0=Unapproved, 1=Approved, 2=Pending approval. Default: all.

Example
1
siinteger(Optional)

Start index (0-based). Default 0.

Example
0
limitinteger(Optional)

Number of reviews to return. Default 15.

Example
10

Request Example

cURL
cURL
Java
Python
Deluge
Copied!
curl --request GET \
  --url 'https://trainercentral.zoho.com/tc/api/v1/trainer/course/{courseId}/reviews.json?status=1&si=0&limit=10' \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
  --header 'tc-orgId: 51517414'

Response Parameters

reviewsJSON Object

Holds the reviews array and meta.

Hide Sub-Attributes
reviewsJSON Array

Reviews on this page.

Show Sub-Attributes
JSON Object
Show Sub-Attributes
courseReviewIdstring

ID of the review.

idstring

Same as courseReviewId.

courseIdstring

ID of the course.

formIdstring

ID of the review form.

ratingstring

Rating from 1 to 5.

feedbackstring

Review text.

statusstring

Review status. Allowed: 0=Unapproved, 1=Approved, 2=Pending approval.

createdBystring

User ID (zuid) of the reviewer.

createdTimestring

Submission time in epoch milliseconds.

zuidstring

User ID (zuid) of the reviewer.

orgMemberIdstring

Academy member ID of the reviewer.

firstNamestring

First name of the reviewer.

lastNamestring

Last name of the reviewer.

userNamestring

Full name of the reviewer.

emailIdstring

Email address of the reviewer.

imageUrlstring

Profile image URL of the reviewer.

metaJSON Object

Review count. Returned only when si is 0.

Show Sub-Attributes
totalReviewCountstring

Total number of reviews of the course.

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_94

INVALID_COURSE - Course not found or deleted. Pass a valid courseId. Do not retry unchanged.

ST_102

UNAUTHORISED_ACCESS - The user is not an academy owner, admin or trainer of this course. Do not retry with the same token.

Response Example

First page of reviews.

200
200
400
500
Copied!
  {
    "reviews": {
      "reviews": [
        {
          "courseReviewId": "3000000000100",
          "id": "3000000000100",
          "courseId": "3000000000022",
          "formId": "3000000000024",
          "rating": "5",
          "feedback": "Clear explanations and useful exercises.",
          "status": "1",
          "createdBy": "51456990",
          "createdTime": "1782727568966",
          "zuid": "51456990",
          "orgMemberId": "3000000000002",
          "firstName": "John",
          "lastName": "Doe",
          "userName": "John Doe",
          "emailId": "john.doe@example.com",
          "imageUrl": "https://academy.example.com/profile/3000000000002/photo"
        }
      ],
      "meta": {
        "totalReviewCount": "1"
      }
    }
  }
                
  {
    "error": {
      "code": "string",
      "codeStr": "string",
      "message": "string"
    }
  }
                
500 Request failed; see the error code.
▼ Show full

Rate Limits

Duration1 minute
Threshold50

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