Skip to main content

Get Template

Retrieve a single template by ID. Use the returned design object when creating or updating QR codes to apply the template's design.

GET/templates/:id

Headers

HeaderRequiredDescription
X-API-KeyRequiredYour API key
QR-VersionOptionalAPI version (e.g., 2026-02-16)

Request

curl -X GET "https://integration-api.qr-build.com/templates/tpl-aBc123XyZ9" \
-H "X-API-Key: qrb_live_your_api_key_here"

Response

{
"object": "template",
"success": true,
"data": {
"id": "tpl-aBc123XyZ9",
"name": "Brand Style",
"design": {
"builderData": { ... },
"frameData": { ... }
},
"created_at": "2026-02-16T10:30:00Z",
"updated_at": "2026-02-16T10:30:00Z"
}
}

Using a Template When Creating a QR Code

Pass data.design as the design parameter in Create QR Code:

{
"name": "My QR",
"content": { "type": "url", "data": "https://example.com" },
"design": { "builderData": {...}, "frameData": {...} }
}