Skip to content

Cards API Overview

The Cards API manages interactive learning cards (quiz, content, boolean, image match, and more), decks, and trails (deckgroups) used by Card Creator and the course player.

Note: Served by Toolzz LXP API (Encore cards service), not by the institution monolith domain. Use the LXP API base URL (e.g. https://lxp.prod.api.toolzz.media). Paths are at the Encore root (no /api prefix).

Warning: Most Card Creator endpoints require an admin JWT. Player endpoints require a player JWT (local cards user). Institution scope always comes from the token.

EnvironmentExample
Productionhttps://lxp.prod.api.toolzz.media
Localhttp://localhost:4000
RoleHowUsed for
AdminLXP admin JWT (Authorization: Bearer) with institution privilegeCard Creator CRUD, uploads
Service accountPOST /authenticate with cards admin credentials + institution_idMonolith EncoreCardsGateway / service-to-service reads
PlayerJWT that resolves to a local cards users rowDeckgroups, decks, progress, complete/uncomplete
type (path)Description
quizMultiple choice
contentText / video / audio content
imagesImage correlation
booleanTrue / false
wordsWord correlation
gibbetHangman / discover the word
crosswordsWord search
phraseComplete the sentence
GroupPaths
AuthPOST /authenticate
Cards/cards, /cards/:type, /cards/:id
Decks (admin)/admin/decks
Trails (Edulabzz)/trails
Upload/upload/image, /upload/image/register
Player/deckgroups, /decks/:id, /progress

Note: Edulabzz trails (/trails, deckgroups) are not the same as LXP course Trails documented under the Trails section.

  • HTTPS/TLS in all cloud environments.
  • Data is scoped to the institution from the JWT.
  • Admin writes stamp toolzz_institution_id from auth (body override must match when provided).