TagMangoTagMango Docs
Course

List Course Reporting Students

GET
/api/v1/external/courses/{courseId}/reporting/students

Returns paginated per-student progress, watch time, catalog click data, and course rating (if the learner submitted a review).

Pass csv=true to download results as CSV instead of JSON.

AuthorizationBearer <token>

In: header

Path Parameters

courseId*string

Course object id

Query Parameters

limit?number

Number of items per page of the results

Range1 <= value
page?number

Page number of the results

Range1 <= value
csv?boolean

Boolean value to indicate if the response should be in CSV format

startDate?string

Start date for filtering data

Formatdate-time
endDate?string

End date for filtering data

Formatdate-time
search?string

Search by student name or email

sortOn?string

Field to sort on

Default"progress"
Value in"progress" | "updatedAt" | "createdAt" | "watchTimeSeconds" | "catalogClickCount" | "rating"
sortOrder?string
Default"DESC"
Value in"ASC" | "DESC"

Header Parameters

x-whitelabel-host*string

Host name of the dashboard, ex: mydomain.tagmango.com

Response Body

application/json

application/json

application/json

curl -X GET "https://api-prod-new.tagmango.com/api/v1/external/courses/66c4964c11e7fef26751f3a7/reporting/students" \  -H "x-whitelabel-host: string"
{
  "data": [
    {
      "userId": "64a7b8c9d1e2f3a4b5c6d7e8",
      "name": "Jane Doe",
      "email": "jane@example.com",
      "progressPercent": 65,
      "status": "in_progress",
      "startedAt": "2019-08-24T14:15:22Z",
      "lastVisit": "2019-08-24T14:15:22Z",
      "completedAt": "2019-08-24T14:15:22Z",
      "watchTimeSeconds": 1200,
      "watchTimeIsEstimated": false,
      "catalogClickCount": 2,
      "rating": 5
    }
  ],
  "total": 42
}
{
  "code": 400,
  "type": "Bad request",
  "statusMessage": "BAD_REQUEST",
  "message": "Invalid request",
  "success": false
}
{
  "code": 401,
  "type": "Unauthorized",
  "statusMessage": "UNAUTHORIZED",
  "message": "Invalid token",
  "success": false
}