Skip to main content
https://.thoughtindustries.com

Extract

List courseAction

List courseAction

GEThttps://example.thoughtindustries.com/incoming/v2/events/courseAction

Returns a paginated list of courseAction events, which fire when a learner takes an action on a course (such as starting, completing, or progressing through it).

Example request

curl "https://example.thoughtindustries.com/incoming/v2/events/courseAction" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindstringNoqueryFilters results to a specific course action type (e.g., started, completed).
cursorstringNoqueryOpaque cursor string used to fetch the next page of results.
startDateISO 8601 timestampNoqueryReturns only events that occurred at or after this ISO 8601 timestamp.
endDateISO 8601 timestampNoqueryReturns only events that occurred at or before this ISO 8601 timestamp.
notifiableIduuidNoqueryFilters results to events associated with a specific course, identified by its UUID.
userIduuidNoqueryFilters results to events triggered by a specific learner, identified by their UUID.

Example response

{
  "data": {
    "APIEvents": {
      "pageInfo": {
        "perPage": 0,
        "cursor": "string",
        "total": 0,
        "hasMore": true
      },
      "events": [
        {}
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoCursorPageInfoPagination metadata for the current result set.
pageInfo.perPageintegerNumber of events returned per page.
pageInfo.cursorstringCursor value to pass in the next request to retrieve the following page of results.
pageInfo.totalintegerTotal number of events matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
eventsobject[]Array of courseAction event objects matching the query parameters.