curl -X POST "https://api.scanova.io/qr-assets/business-card-template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto"
}'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": null
}
QR Assets
Create a business card template
POST /qr-assets/business-card-template/
POST
/
qr-assets
/
business-card-template
/
curl -X POST "https://api.scanova.io/qr-assets/business-card-template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto"
}'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": null
}
Saves a new business card template, on the Management API host (
api.scanova.io), authenticated with your raw Management API key.
POST https://api.scanova.io/qr-assets/business-card-template/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
required
A client-chosen identifier for this template, max 150 characters — unlike QR Code design templates, where
template_id is server-generated, here you supply it. Pick a value unique to your integration.string
required
Template name, max 150 characters.
string
The vCard/business-card data this template pre-fills.
string
Design color data, typically JSON encoded as a string.
string
Font family name.
curl -X POST "https://api.scanova.io/qr-assets/business-card-template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto"
}'
{
"id": 8,
"template_id": "bct-blue-01",
"name": "Blue Card",
"info": "John Doe\nCEO",
"color": "{\"primary\":\"#0033ff\"}",
"font": "Roboto",
"background_img": null
}
403 if the account lacks the SAVE_DESIGN_TEMPLATE quota, has an inactive plan, or lacks QR_CODE_CAN_ADD/QR_CODE_CAN_EDIT permission.
Related
- List business card templates — see saved templates.
- Update a business card template — edit an existing one.
- Management API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Response
201 - application/json
Template created.
Was this page helpful?