Skip to content

Course Reactions

Endpoint used to retrieve the evaluations (reactions) made for a specific course in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/reports/course/{course_id}/evaluations?per_page=10&page=1' \
--header 'Authorization: Bearer <token>'
{
"current_page": 1,
"data": [
{
"user": {
"id": 1,
"name": "<string>",
"email": "<string>"
},
"course": {
"id": 1,
"title": "<string>"
},
"answerWithQuestions": {}
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
course_idintID of the course whose reactions will be listed.Yes
ParameterTypeDescriptionRequired
per_pageintNumber of records per page.No
pageintPage number of the listing.No

KeyTypeDescription
current_pagenumberCurrent page number.
dataarrayList of user data in the course.
data.userobjectUser information.
data.user.idnumberUnique identifier of the user.
data.user.namestringName of the user.
data.user.emailstringEmail address of the user.
data.courseobjectCourse information.
data.course.idnumberUnique identifier of the course.
data.course.titlestringCourse title.
data.answerWithQuestionsobjectObject containing answers and related questions.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.