Skip to main content

Create Template

Create a new design template. Use the Design Builder to experiment with options, then copy the JSON into design.builderData and design.frameData to save it as a reusable template.

POST/templates

Headers

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

Body Parameters

ParameterTypeRequiredDescription
namestringRequiredTemplate name (2–80 characters)
designobjectRequiredQR design with builderData and frameData (see Design Builder)

Request

curl -X POST "https://integration-api.qr-build.com/templates" \
-H "X-API-Key: qrb_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Brand Style",
"design": {
"builderData": {
"dotsOptions": { "color": "#212B36", "type": "rounded" },
"backgroundOptions": { "color": "transparent" },
"cornersSquareOptions": { "color": "#212B36", "type": "square" },
"cornersDotOptions": { "color": "#212B36", "type": "square" }
},
"frameData": {
"type": "simple-text",
"text": "Scan me!",
"color": "#212B36",
"textColor": "#212B36",
"background": "transparent"
}
}
}'

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"
}
}