Skip to content

Get Library Content

Endpoint used to retrieve a standalone content from the institution library by its ID.

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/1234567' \
--header 'Authorization: Bearer <token>'
{
"content": {
"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"
}
}

ParameterTypeDescriptionRequired
AuthorizationStringJWT access token (Bearer <token>). Must include institutionId, userID, and subdomain.Yes
ParameterTypeDescriptionRequired
idnumberUnique content identifier (positive integer).Yes

KeyTypeDescription
contentobjectContent object with full details.
content.idnumberUnique content identifier.
content.titlestringContent title.
content.typestringContent type (text, video_online, html5).
content.statusnumber0: Draft. 1: Published.
content.bodystring | nullHTML body (text/html5) or null for online video.
content.videoUrlstring | nullVideo URL for video_online type.
content.cycleIdsnumber[]Linked cycle IDs.
content.difficultystringDifficulty level (hard, medium, low).
content.createdAtstringCreation timestamp (ISO 8601).
content.updatedAtstringLast update timestamp (ISO 8601).

HTTPCodeWhen
401unauthenticatedMissing or invalid JWT
403permission_deniedUser is not linked to the institution or is a student
404not_foundContent not found or belongs to another institution

Example:

{
"code": "not_found",
"message": "Content not found: 1234567",
"details": null
}

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