Apply a Page Template in Bulk
QR codes such as landing pages, business cards or menus open a page. A page template keeps the look of that page under a name: its theme, background, buttons, fonts and the style of each element (the shape of an image, the size of a title). You can then apply it to a list of QR codes or to every QR code in a project.
Only the look changes. Texts, links, phone numbers, pictures and every other piece of content stay as they are.
Supported QR Code Types
A template belongs to the QR code type it was saved from and can only be applied to QR codes of that same type.
| Type | typologyName |
|---|---|
| Landing page | landing |
| Business card | bcard |
| Menu | menu |
| Social media | social |
| Lead generation | lead_generation |
| Payment | payment |
| Google review | google_review |
Overview
- Save a template - Take the look of a QR code that already looks the way you want
- Apply it - Send the template and the QR codes that should get it
- Monitor the job - Poll the job until it completes
Step 1: Save a Template
Read the QR code whose look you want to keep:
curl 'https://api.v2.qrcodekit.com/api/qrs/3712ba86-e687-11f1-9fd9-ca298af6be44' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID'From its response, take:
typology- the QR code type (its@id)landingTemplate.theme- the theme reference (its@id)landingTemplate.style- the page styleinput.components- the elements of the page
Then create the template with those values:
curl 'https://api.v2.qrcodekit.com/api/saved-landing-templates' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID' \
-H 'Content-Type: application/json' \
-d '{
"name": "Corporate 2026",
"typology": "/api/qr-typologies/6f2c0e1a-2329-11ef-b2cf-0242c0a89002",
"theme": "/api/themes/dcfdb0ae-e1e6-11f1-86d3-b2239e2b84f7",
"style": {
"fonts": { "color": "#FFFFFF", "font_size": "1rem", "font_family": "Inter" },
"buttons": { "color": "#000000", "border_radius": "30px", "background_color": "#C5C8C0" },
"background": { "backgroundType": "color", "background_color": "#2C4F37", "background_image": "" }
},
"components": [
{
"type": "image",
"order": 1,
"style": { "width": "30%", "borderRadius": "0px" },
"inputs": { "type": "link", "file_src": "https://cdn.qrcodekit.com/v2-assets/prod/logo.png" },
"overwrite_styles": true
},
{
"type": "image",
"order": 4,
"style": { "width": "100%", "borderRadius": "50%" },
"inputs": { "type": "link", "file_src": "https://cdn.qrcodekit.com/v2-assets/prod/photo.png" },
"overwrite_styles": true
}
]
}'Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the template, up to 64 characters |
typology | string | Yes | QR code type the template is for. It cannot be changed later |
theme | string | Yes | Theme reference |
style | object | Yes | Page style. Must contain fonts, buttons and background |
components | array | No | Elements of the page the look is taken from. Only their styles are kept, never their content |
Response
{
"@context": "/api/contexts/SavedLandingTemplate",
"@id": "/api/saved-landing-templates/f29acf68-e688-11f1-8fdc-ca298af6be44",
"@type": "SavedLandingTemplate",
"name": "Corporate 2026",
"theme": {
"@id": "/api/themes/dcfdb0ae-e1e6-11f1-86d3-b2239e2b84f7",
"@type": "Theme",
"data": { "fonts": {}, "buttons": {}, "background": {} }
},
"style": {
"fonts": { "color": "#FFFFFF", "font_size": "1rem", "font_family": "Inter" },
"buttons": { "color": "#000000", "border_radius": "30px", "background_color": "#C5C8C0" },
"background": { "backgroundType": "color", "background_color": "#2C4F37", "background_image": "" }
},
"componentStyles": {
"image": [
{ "style": { "width": "30%", "borderRadius": "0px" }, "overwrite_styles": true },
{ "style": { "width": "100%", "borderRadius": "50%" }, "overwrite_styles": true }
]
},
"uuid": "f29acf68-e688-11f1-8fdc-ca298af6be44",
"createdAt": "2026-11-22T15:25:28+00:00",
"updatedAt": "2026-11-22T15:25:28+00:00",
"typologyName": "landing"
}Keep the @id: it is the reference you send when applying the template. componentStyles shows what was kept from the elements, grouped by kind and in page order. The file addresses and other content you sent are not stored.
Step 2: Apply the Template
To a List of QR Codes
curl 'https://api.v2.qrcodekit.com/api/qrs/_bulk/update' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID' \
-H 'Content-Type: application/json' \
-d '{
"uuids": [
"626c8a0e-e687-11f1-a971-ca298af6be44",
"e85361d2-e502-11f1-9ef3-ca298af6be44"
],
"savedLandingTemplate": "/api/saved-landing-templates/f29acf68-e688-11f1-8fdc-ca298af6be44"
}'To Every QR Code in a Project
Leave uuids out and send the project in sourceProject. Every active or paused QR code of the project that is of the template's type gets it.
curl 'https://api.v2.qrcodekit.com/api/qrs/_bulk/update' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID' \
-H 'Content-Type: application/json' \
-d '{
"sourceProject": "/api/projects/8a94b788-7f2a-11f0-a6f0-46063e93b702",
"savedLandingTemplate": "/api/saved-landing-templates/f29acf68-e688-11f1-8fdc-ca298af6be44"
}'Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
savedLandingTemplate | string | Yes | Reference of the template to apply |
uuids | array | One of the two | UUIDs of the QR codes that get the template |
sourceProject | string | One of the two | Project whose QR codes get the template. Only used when uuids is empty or missing |
uuids or sourceProject. A request with neither targets every QR code in the account.The request returns immediately with a job, like every bulk update:
{
"@type": "BulkUpdateQrOutput",
"job": {
"@id": "/api/jobs/aeaf7d90-e68c-11f1-a148-ca298af6be44",
"@type": "Job",
"type": 2,
"status": 0,
"result": [],
"uuid": "aeaf7d90-e68c-11f1-a148-ca298af6be44",
"statusDescription": "CREATED"
}
}Step 3: Monitor the Job
curl 'https://api.v2.qrcodekit.com/api/jobs/aeaf7d90-e68c-11f1-a148-ca298af6be44' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID'{
"@context": "/api/contexts/Job",
"@id": "/api/jobs/aeaf7d90-e68c-11f1-a148-ca298af6be44",
"@type": "Job",
"type": 2,
"startTime": "1795362732",
"stopTime": "1795362732",
"status": 3,
"result": {
"total": 2,
"skipped": 2
},
"uuid": "aeaf7d90-e68c-11f1-a148-ca298af6be44",
"statusDescription": "OK"
}Job Result
| Field | Description |
|---|---|
total | QR codes that got the template. The skipped ones are not counted here |
skipped | QR codes left untouched because they are of another type. Only present when at least one was skipped |
total and skipped never overlap. In the example above 4 QR codes were processed: 2 got the template and 2 were left untouched.
A job where every QR code was skipped still ends as OK, with "total": 0.
How Element Styles Are Matched
Two QR codes rarely have the same elements, so styles are matched by kind and by position:
- Elements are grouped by kind: image, title, subtitle, phone, email, link, address, social media and so on.
- Within a kind, they are paired by their position on the page: the first image of the QR code takes the style of the first image of the template, the second takes the second.
- If the QR code has more elements of a kind than the template, the extra ones take the style of the last one saved. A template saved from a card with one phone gives the same style to every phone of the cards it is applied to.
- Kinds the template does not have are left as they are.
Managing Templates
List
curl 'https://api.v2.qrcodekit.com/api/saved-landing-templates?typology.internalName=bcard' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID'The typology.internalName filter is optional. Templates saved from the dashboard ("Save as template" under the themes of a page) appear in the same list.
Rename or Replace the Look
curl -X PATCH 'https://api.v2.qrcodekit.com/api/saved-landing-templates/f29acf68-e688-11f1-8fdc-ca298af6be44' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID' \
-H 'Content-Type: application/merge-patch+json' \
-d '{
"name": "Corporate 2027"
}'name, theme, style and components can be changed. Send components again to replace the element styles.
Delete
curl -X DELETE 'https://api.v2.qrcodekit.com/api/saved-landing-templates/f29acf68-e688-11f1-8fdc-ca298af6be44' \
-H 'X-Api-Key: YOUR_API_KEY' \
-H 'X-Account-Id: /api/user-accounts/YOUR_ACCOUNT_ID'Good to Know
- The template is copied. Each QR code gets its own copy of the look. Changing or deleting the template later does not change the QR codes that already got it. To update them, apply the template again.
- The change is immediate. The pages of the QR codes show the new look as soon as the job finishes. Printed QR codes keep working: only the page they open changes.
- There is no undo. The previous look of each QR code is replaced.
- Background images. A template whose background is your own uploaded image needs a plan that includes page background images. The image that comes with a theme is always allowed.
Error Handling
| Status | Cause | Solution |
|---|---|---|
402 | The template uses your own background image and the plan does not include that option | Upgrade the plan, or use a color, a gradient or the theme's image |
403 | The template or the project belongs to another account | Check the references |
422 on save | The QR code type is not supported, or style lacks fonts, buttons or background | Check the type and send the complete style |
