Skip to content

Trail Completed

The main purpose of this webhook is to provide a real-time notification when a user successfully finishes a learning trail. This allows the institution or system to record and track user progress.

ParameterTypeDescription
namestringName of the event: “Atividades - Trilha concluída”
slugstringUnique identifier: activities.trail.completed
send_atstringDate and time of the event (format: “yyyy-MM-dd HH:mm:ss”)

ParameterTypeDescription
idnumberNumerical identifier of the institution.
ParameterTypeDescription
idnumberNumerical identifier of the user.
namestringName of the user.
emailstringEmail address of the user.
ParameterTypeDescription
idnumberNumerical identifier of the trail.
namestringName of the trail.
finished_atstringDate and time when the trail was completed (format: “yyyy-MM-dd HH:mm:ss”).
coursesarrayList of objects containing information about the courses in the trail.
courses[].idnumberNumerical identifier of the course.
courses[].titlestringTitle of the course.

The event will be triggered when a user completes all activities of a specific learning trail.

{
"event": {
"name": "Atividades - Trilha concluída",
"slug": "activities.trail.completed",
"send_at": "2022-03-10 18:56:47"
},
"data": {
"institution": {
"id": 12345
},
"user": {
"id": 123456798,
"name": "Student",
"email": "student@toolzz.com"
},
"trail": {
"id": 987654,
"name": "Trail Name",
"finished_at": "2022-03-10 18:56:47",
"courses": [
{
"id": 123456,
"title": "Course Name"
}
]
}
}
}

Ensure that the destination URL is correct before you start sending payloads. Verify that the parameters sent are correct and complete. Make sure that the webhook recipients are correct and valid. Log and monitor all webhook calls for auditing and troubleshooting purposes.