Skip to content

List Library Contents

Endpoint used to list standalone contents from the institution library. Returns only library types supported by this API: text, online video (video_online), and HTML5 embed (html5).

Note: This endpoint is served by Toolzz LXP API (Encore library service), not by the institution monolith domain. Use the LXP API base URL (e.g. https://lxp.prod.api.toolzz.media).

Warning: Requires a valid admin JWT. Users with student privilege (privilegio_id = 4) cannot manage library content.

Terminal window
curl --request GET \
--url 'https://lxp.prod.api.toolzz.media/institution/library/contents?type=text&status=1&search=guide&cycleId=179&page=1&limit=10' \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": 1234567,
"institutionId": 39955387,
"userId": 98210156,
"title": "Introduction to the platform",
"description": "Getting started guide",
"type": "text",
"monolithType": 1,
"status": 1,
"body": "<p>Welcome to the library</p>",
"fileUrl": null,
"videoUrl": null,
"duration": 0,
"thumbnailUrl": null,
"catalogCoverRectangularUrl": null,
"cycleIds": [179],
"cycleStageIds": [],
"disciplineIds": [],
"schoolIds": [],
"difficulty": "medium",
"tags": "onboarding,guide",
"source": null,
"authors": null,
"disablePlayerControls": false,
"showInStudentCatalog": false,
"showInVisitorCatalog": false,
"blockCatalogLoggedOut": false,
"showCourseDetails": false,
"showInRelatedVideos": false,
"videoOrientation": null,
"createdAt": "2026-06-15T12:00:00.000Z",
"updatedAt": "2026-06-15T12:00:00.000Z"
}
],
"total": 42,
"page": 1,
"limit": 10
}

ParameterTypeDescriptionRequired
AuthorizationStringJWT access token (Bearer <token>). Must include institutionId, userID, and subdomain.Yes
ParameterTypeDescriptionRequired
typestringFilter by type: text, video_online, or html5.No
statusnumberFilter by status. 0: Draft. 1: Published.No
searchstringSearch by title (partial match).No
cycleIdnumberFilter by linked cycle ID (positive integer).No
pagenumberPage number. Default 1.No
limitnumberItems per page. Default 20, maximum 100.No

KeyTypeDescription
itemsarrayList of content objects for the current page.
items[].idnumberUnique content identifier.
items[].titlestringContent title.
items[].typestringContent type (text, video_online, html5).
items[].statusnumber0: Draft. 1: Published.
items[].cycleIdsnumber[]Linked cycle IDs.
items[].createdAtstringCreation timestamp (ISO 8601).
totalnumberTotal matching items across all pages.
pagenumberCurrent page number.
limitnumberItems per page.

Results are ordered by creation date (newest first).


HTTPCodeWhen
400invalid_argumentInvalid query parameters (e.g. invalid page, limit > 100)
401unauthenticatedMissing or invalid JWT
403permission_deniedUser is not linked to the institution or is a student

  • Requires valid JWT with admin access (auth: true).
  • Data is scoped to the institution from the token.
  • Students cannot list library content through this API.
  • HTTPS/TLS for all environments.