Skip to content

Activity Answered

This webhook provides real-time information about user progress and activity answers, regardless of the activity result. This allows the institution to track user engagement, analyze performance, and take appropriate actions.

ParameterTypeDescription
namestringName of the event: “Atividades - Atividade respondida”
slugstringUnique identifier: activities.answered.activity
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.
uuidstring | nullUniversal unique identifier of the user.
ParameterTypeDescription
idnumberNumerical identifier of the course.
namestringName of the course.
ParameterTypeDescription
idnumberNumerical identifier of the content.
typenumberNumber representing the content type.
answerstringURL or path to the activity response.
correctboolean | nullIndicates if the answer is correct.
explanationstring | nullExplanation associated with the answer.
pointsnumber | nullNumber of points associated with the content.
date_deliverystring | nullDelivery date of the activity (format: “yyyy-MM-dd”).
content_deliverynumberRepresents the type of content delivery.
current_timestring | nullCurrent time associated with the content (format: “HH:mm:ss”).

The event will be triggered whenever an activity answer is submitted, allowing the institution or system to receive real-time notifications about completed activities by users.

{
"event": {
"name": "Atividades - Atividade respondida",
"slug": "activities.answered.activity",
"send_at": "2023-07-03 12:54:33"
},
"data": {
"institution": {
"id": 12345
},
"user": {
"id": 123456789,
"name": "Student",
"email": "student@toolzz.com",
"uuid": null
},
"course": {
"id": 123,
"name": "Activity Name"
},
"content": {
"id": 35502788,
"type": 10,
"answer": "link_to_file_sent_by_student",
"correct": null,
"explanation": null,
"points": null,
"date_delivery": null,
"content_delivery": 0,
"current_time": 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.