Skip to content

Certificate Issued

This webhook sends an event whenever a new certificate is issued. This event is triggered when a user completes a course and requests access to the certificate by clicking the “View Certificate” button.

ParameterTypeDescription
namestringName of the event: “Atividades - Certificado emitido”
slugstringUnique identifier: activities.certificate.issued
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.
cpfstringuser’s CPF.
nicknamestring | nullUser’s nickname.
uuidstring | nullUniversal unique identifier of the user.
ParameterTypeDescription
idnumberNumerical identifier of the course.
namestringName of the course.
workloadstringCourse workload (e.g., “10h”).
enrolled_atstringEnrollment date (format: “yyyy-MM-dd HH:mm:ss”).
concluded_atstringConclusion date (format: “yyyy-MM-dd HH:mm:ss”).
ParameterTypeDescription
idnumberNumerical identifier of the school.
namestringName of the school where the course was completed.
managersarrayList of school managers.
managers[].manager_idnumberIdentifier of the manager.
managers[].manager_namestringName of the manager.
ParameterTypeDescription
certified_atstringIssuance date and time (format: “yyyy-MM-dd HH:mm:ss”).
typestringType of certificate (participation or achievement).
approval_ratenumberApproval rate required for achievement certificates.

This event is triggered when a user completes a course and requests access to the certificate by clicking the “View Certificate” button.

{
"event": {
"name": "Atividades - Certificado emitido",
"slug": "activities.certificate.issued",
"send_at": "2023-08-28 20:47:31"
},
"data": {
"institution": {
"id": 98765432
},
"user": {
"id": 12345678,
"name": "User Name",
"email": "user@example.com",
"cpf": "XXX.XXX.XXX-XX",
"nickname": null,
"uuid": null
},
"course": {
"id": 87654321,
"name": "Course Name",
"workload": "0h",
"enrolled_at": "2023-08-28 20:46:18",
"concluded_at": "2023-08-28 20:47:20"
},
"school": {
"id": 1,
"name": "Unit 1",
"managers": [
{
"manager_id": 98712326,
"manager_name": "Manager Name"
}
]
},
"certified": {
"certified_at": "2023-08-28 20:47:31",
"type": "Achievement",
"approval_rate": 25
}
}
}

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.