Skip to content

Student Enrollments by Group

Endpoint used to retrieve a detailed listing of all students currently enrolled in one or more courses within a specific group in Toolzz LMS.

Warning: This endpoint will only work correctly if the domain of your institution is manually provided in the URL. Otherwise, the endpoint may fail or return a validation error.

Terminal window
curl --request GET \
--url 'https://{your-institution-domain}/api/v1/reports/groups/{groupId}/students?page=1&perPage=20' \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 1,
"name": "<string>",
"email": "<string>",
"enrollment_date": "<string>"
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
groupIdintUnique identifier of the course group to filter enrolled students.Yes
ParameterTypeDescriptionRequired
pagenumberSpecifies the page number of results to be returned.No
perPagenumberDefines the number of users to display per page.No

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.