Skip to content

Course Completed

The main purpose of this webhook is to provide updated information about course completions, allowing the institution to track the flow of graduates, manage resources, and take appropriate actions.

ParameterTypeDescription
namestringName of the event: “Atividades - Curso concluído”
slugstringUnique identifier: activities.course.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 course.
namestringName of the course.
ParameterTypeDescription
idnumberNumerical identifier of the enrollment.
date_expirestring | nullExpiration date of the enrollment (format: “yyyy-MM-dd”).
course_idnumberNumerical identifier of the course associated with the enrollment.
activedbooleanIndicates if the enrollment is activated (1 for yes, 0 for no).
statusnumberIndicates the enrollment status (1 for active, 0 for inactive).
ParameterTypeDescription
idnumberNumerical identifier of the user.
namestringName of the user.
emailstringEmail address of the user.
cpfstringUser’s CPF.
nicknamestring | nullUser’s nickname.
uuidstring | nullUniversal unique identifier of the user.

This event is triggered when a user completes a course.

{
"event": {
"name": "Atividades - Curso concluído",
"slug": "activities.course.completed",
"send_at": "2023-07-03 12:53:41"
},
"data": {
"institution": {
"id": 12345
},
"course": {
"id": 123456,
"name": "Course Name"
},
"enrollment": {
"id": 11,
"date_expire": null,
"course_id": 123456789,
"actived": 1,
"status": 1
},
"user": {
"id": 987654321,
"name": "Student",
"email": "student@toolzz.com",
"cpf": "123.456.789-99",
"nickname": null,
"uuid": null
}
}
}

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.