Preview Sticker Template
Generate a preview of a sticker template with sample variables substituted. Returns processed template data ready for rendering.
Generate a preview of a sticker template with sample variables substituted. Returns processed template data ready for rendering.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://example.com/sticker-templates/550e8400-e29b-41d4-a716-446655440000/preview"{ "template": { "id": "string", "labId": "string", "categoryId": "string", "name": "string", "description": "string", "width": "string", "height": "string", "templateData": { "basePdf": "string", "schemas": [ [ { "property1": null, "property2": null } ] ], "sampledata": [ { "property1": null, "property2": null } ], "property1": null, "property2": null }, "previewImageKey": "string", "isDefault": true, "sortOrder": 0, "isActive": true, "createdAt": "string", "updatedAt": "string" }, "sampleVariables": { "property1": "string", "property2": "string" }}Empty
Empty
List Sticker Templates GET
List sticker templates for the lab with pagination, search, and optional category filtering. Includes joined category data. Clinic users must provide a labId.
Update Sticker Template PUT
Update an existing sticker template's properties including name, dimensions, template data, category, and default status. Lab-only operation.