Course attempt closed
Sent to your endpoint when an attempt is closed. This event is currently triggered only when learners finish an attempt, materialized through the reason attribute. The reason attribute potential values are expected to grow over time as new closure reasons will be supported.
Headers
The signature of the event payload, used to verify the authenticity of the event. If multiple signatures are present, they are space delimited.
The unique identifier of the event. It is the same ID for the retry attempts of the same event.
The date and time when the event was emitted, in the Unix epoch format (number of seconds that have elapsed since January 1, 1970).
Payload
Example payload
{
"type": "course.attempt.closed",
"data": {
"attemptId": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011",
"courseId": "507f1f77bcf86cd799439011",
"context": {
"pathId": "507f1f77bcf86cd799439011",
"pathSessionId": "507f1f77bcf86cd799439011"
}
}
}Response
The event is considered as accepted for any 2xx response code.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.