Extract
List quizAttempt
List quizAttempt
GET
https://example.thoughtindustries.com/incoming/v2/events/quizAttemptReturns a paginated list of quiz attempt events. Filter results by date range, user, or notifiable resource using the available query parameters.
Example request
curl "https://example.thoughtindustries.com/incoming/v2/events/quizAttempt" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
kind | string | No | query | Filters events by kind subtype. |
cursor | string | No | query | Opaque cursor string used to fetch the next page of results. |
startDate | ISO 8601 timestamp | No | query | Returns only events that occurred at or after this ISO 8601 timestamp. |
endDate | ISO 8601 timestamp | No | query | Returns only events that occurred at or before this ISO 8601 timestamp. |
notifiableId | uuid | No | query | Filters events to those associated with the specified notifiable resource UUID. |
userId | uuid | No | query | Filters events to those belonging to the specified user UUID. |
Example response
{
"data": {
"APIEvents": {
"pageInfo": {
"perPage": 0,
"cursor": "string",
"total": 0,
"hasMore": true
},
"events": [
{}
]
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
pageInfo | CursorPageInfo | Pagination metadata for the current result set. |
pageInfo.perPage | integer | Number of events returned per page. |
pageInfo.cursor | string | Cursor value to pass in the next request to retrieve the following page. |
pageInfo.total | integer | Total number of events matching the query. |
pageInfo.hasMore | boolean | Indicates whether additional pages of results are available. |
events | object[] | Array of quiz attempt event objects matching the query. |