Skip to content

Unenrolled Users Report

Endpoint used to retrieve a detailed listing of users who are currently not enrolled in any course 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/students/not-enrolled?page=1&perPage=20' \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 1,
"name": "<string>",
"birthDate": "<string>",
"document": "<string>",
"mailAddress": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"lastActivity": 123,
"lastLogin": "<string>"
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": null,
"next": "<string>"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"links": [],
"path": "<string>",
"per_page": 20,
"to": 20,
"total": 100
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
pagenumberSpecifies the page number of results to be returned.No
perPagenumberDefines the number of users to display per page.No

KeyTypeDescription
dataarrayList of unenrolled users.
data.idnumberUnique identifier of the user.
data.namestringFull name of the user.
data.birthDatestringDate of birth in YYYY-MM-DD format.
data.documentstringUser document (CPF, RG, etc.).
data.mailAddressstringEmail address of the user.
data.createdAtstringDate of record creation.
data.updatedAtstringDate of last record update.
data.lastActivitynumberLast recorded activity (timestamp or numeric value).
data.lastLoginstringDate and time of last login.
linksobjectNavigation URLs between report pages.
links.firststringURL of the first page.
links.laststringURL of the last page.
links.prevstringURL of the previous page.
links.nextstringURL of the next page.
metaobjectMeta information about the result pagination.
meta.current_pagenumberCurrent page.
meta.fromnumberIndex of the first item displayed.
meta.last_pagenumberLast available page.
meta.linksarrayList of pagination links.
meta.pathstringBase path for navigation.
meta.per_pagenumberNumber of items per page.
meta.tonumberIndex of the last item displayed.
meta.totalnumberTotal available items.

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.