Skip to content

List Cards

Lists cards for the authenticated admin institution, with optional filters and pagination.

Note: Served by Toolzz LXP API (Encore cards). Base URL example: https://lxp.prod.api.toolzz.media.

Terminal window
curl --request GET \
--url 'https://lxp.prod.api.toolzz.media/cards?types_id=1&search=quiz&page=1&quantity_per_page=10&paginate=1&order_field=id&order_direction=DESC' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"total": 42,
"cards": [
{
"id": 8708,
"name": "Sample quiz",
"ask": "What is 2+2?",
"type": "quiz",
"card_types_id": 1,
"difficulties_id": 1,
"toolzz_institution_id": 39955387,
"answers": [
{ "id": 1, "answer": "4", "correct": true },
{ "id": 2, "answer": "3", "correct": false }
]
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAdmin JWT (Bearer <token>).Yes
ParameterTypeDescriptionRequired
types_idnumber / stringCard type ID(s). Comma-separated allowed (e.g. 1,4).No
difficulties_idnumberDifficulty ID.No
searchstringSearch text.No
toolzz_institution_idnumberMust match JWT institution when set.No
toolzz_school_idstringSchool filter.No
toolzz_groupsstring[]Group filters.No
toolzz_subgroupsstring[]Subgroup filters.No
toolzz_specialtiesstring[]Specialty filters.No
paginatenumber1 to enable pagination.No
pagenumberPage number (when paginating).No
quantity_per_pagenumberPage size.No
order_fieldstringSort field (e.g. id, name).No
order_directionstringASC or DESC (case-sensitive; only ASC sorts ascending, any other value falls back to DESC).No

HTTPCodeWhen
400invalid_argumentInvalid types_id or filters
401unauthenticatedMissing/invalid JWT
403permission_deniedNot an admin for the institution

  • Requires admin auth (getAdminActor). Service-account JWT alone is not enough for this endpoint.
  • Results scoped to JWT institution.