Skip to content

List Student Grades for Multiple Courses

This endpoint allows querying the grades of a student in several courses in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/content/score/user/{user_id}?ids=1,2,3' \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"course_id": 1,
"score": 90
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
user_idstringUser ID (student) whose grades will be queried in the specified courses.Yes
ParameterTypeDescriptionRequired
idsintArray of course IDs for which grades will be queried. IDs must be separated by comma.No

Note: For this endpoint to work correctly, the activity scoring system must be configured in “Weighted Average” mode.


KeyTypeDescription
dataarrayList of grades.
data.course_idnumberCourse identifier.
data.scorenumberStudent’s score in the course.

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.