Create Deck (Admin)
Creates a deck for the admin institution. Optional cards links card IDs to the deck.
Request Example
Section titled “Request Example”curl --request POST \ --url 'https://lxp.prod.api.toolzz.media/admin/decks' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "title": "Onboarding deck", "name": "onboarding", "description": "First steps", "score": 100, "cards": "8708,8709" }'Response Example
Section titled “Response Example”{ "success": true, "deck": { "id": 157, "title": "Onboarding deck" }}Request description
Section titled “Request description”Body Parameters
Section titled “Body Parameters”| Parameter | Type | Description | Required |
|---|---|---|---|
title | string | Deck title. | No |
name | string | Internal name. | No |
description | string | Description. | No |
images_id | number | Cover image ID. | No |
score | number | Score. | No |
tags | string | Tags. | No |
cards | string | Comma-separated card IDs to attach. | No |
Security
Section titled “Security”- Admin only; institution from JWT.