Skip to content

Institution Members Report

Endpoint used to retrieve detailed information about institution members 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/members?page=1&perPage=20' \
--header 'Authorization: Bearer <token>'
{
"data": {
"current_page": 1,
"from": 1,
"last_page": 3,
"to": 20,
"total": 46,
"data": [
{
"id": 1,
"title": "<string>",
"imageUrl": "<string>",
"classrooms": [
{
"id": 1,
"schoolId": 1,
"title": "<string>",
"code": "<string>"
}
]
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": null,
"next": "<string>"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 3,
"path": "<string>",
"per_page": 20,
"to": 20,
"total": 46,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
]
}
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
pagestringSpecifies the page number of results to be returned.No
perPagestringDefines the number of courses to display per page.No

KeyTypeDescription
dataobjectContains the paginated listing of courses with their classes.
data.current_pagenumberCurrent page of the listing.
data.fromnumberIndex of the first item on the current page.
data.last_pagenumberTotal number of available pages.
data.tonumberIndex of the last item on the current page.
data.totalnumberTotal number of courses listed.
data.dataarrayList of courses with related data.
data.data.idnumberUnique identifier of the course.
data.data.titlestringCourse title.
data.data.imageUrlstringURL of the course cover image.
data.data.classroomsarrayList of classes associated with the course.
data.data.classrooms.idnumberUnique identifier of the class.
data.data.classrooms.schoolIdnumberSchool identifier to which the class belongs.
data.data.classrooms.titlestringClass title.
data.data.classrooms.codestringUnique class code.
data.linksobjectPagination links.
data.links.firststringURL of the first page.
data.links.laststringURL of the last page.
data.links.prevstringURL of the previous page (may be null).
data.links.nextstringURL of the next page.
data.metaobjectAdditional pagination metadata.
data.meta.current_pagenumberCurrent page number.
data.meta.fromnumberStarting index of the listing.
data.meta.last_pagenumberLast page of the listing.
data.meta.pathstringAPI base path.
data.meta.per_pagenumberNumber of items per page.
data.meta.tonumberLast index on the current page.
data.meta.totalnumberTotal available items.
data.meta.linksarrayList of paginated navigation links.
data.meta.links.urlstringURL of the corresponding page.
data.meta.links.labelstringNavigation label (e.g., “1”, “pagination.next”).
data.meta.links.activebooleanIndicates if this is the active page.

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.