GuideLab API

Preview Sticker Template

Generate a preview of a sticker template with sample variables substituted. Returns processed template data ready for rendering.

GET
/sticker-templates/{id}/preview

Generate a preview of a sticker template with sample variables substituted. Returns processed template data ready for rendering.

Authorization

__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