Skip to content
API key

API reference

API reference

All 22 endpoints of the QRBold REST API. Each one lists its parameters, an example request in three languages, the response, and the errors it can return.

Conventions

Base URL
https://api.qrbold.com/api/public/v1
Conventions shared by every endpoint
TopicRule
AuthenticationAuthorization: Bearer YOUR_API_KEY on every request. Details.
RequestsJSON bodies with Content-Type: application/json.
ResponsesJSON with an object field naming the type. The image endpoint returns a file. Deletes return 204 with no body.
Lists{ object: "list", data: [], pagination: { total, limit, offset, hasMore } }. Pagination.
Errors{ error: { type, code, message, details? } }. Error reference.
Rate limitPer key, per minute. Rate limits.
Safe retriesOptional Idempotency-Key header on writes. Idempotency.
PlanThe Pro plan, or the Business card plan, for every endpoint.

All endpoints

Account

Check that a key works and see what it is allowed to do.

Account endpoints
EndpointWhat it doesScope
GET/meCheck a keyNone

Digital business cards

Create, read, update and delete digital business cards.

Digital business cards endpoints
EndpointWhat it doesScope
POST/cardsCreate a cardcards:write
GET/cardsList cardscards:read
GET/cards/:idRetrieve a cardcards:read
PATCH/cards/:idUpdate a cardcards:write
DELETE/cards/:idDelete a cardcards:write
GET/cards/:id/walletGet wallet linkscards:read

Card templates

Read the templates a card can be created from, and the field rules each one imposes.

Card templates endpoints
EndpointWhat it doesScope
GET/templatesList templatestemplates:read
GET/templates/:idRetrieve a templatetemplates:read

QR codes

Create and manage dynamic QR codes that redirect to a URL, and list every other code in the account.

QR codes endpoints
EndpointWhat it doesScope
POST/qr-codesCreate a QR codeqr:write
GET/qr-codesList QR codesqr:read
GET/qr-codes/:idRetrieve a QR codeqr:read
PATCH/qr-codes/:idUpdate a QR codeqr:write
DELETE/qr-codes/:idDelete a QR codeqr:write

QR images

Download the QR image for a QR code or a digital business card.

QR images endpoints
EndpointWhat it doesScope
GET/qr-codes/:id/imageDownload a QR imageqr:read or cards:read

Analytics

Read scan totals, a daily timeline and, on plans that include them, country and device breakdowns.

Analytics endpoints
EndpointWhat it doesScope
GET/analytics/overviewAccount scan statisticsanalytics:read
GET/analytics/:idScan statistics for one code or cardanalytics:read

Campaign ingestion

Create one card per request from your own JSON shape, using a template and mapping configured once in the dashboard.

Campaign ingestion endpoints
EndpointWhat it doesScope
GET/campaignsList campaignscards:read
GET/campaigns/:campaignIdRetrieve a campaigncards:read
GET/campaigns/:campaignId/schemaGet a campaign’s payload schemacards:read
POST/campaigns/:campaignId/cards/testDry-run a campaign cardcards:write
POST/campaigns/:campaignId/cardsCreate a card in a campaigncards:write

Looking for something that is not listed? It is probably on What the API does not do.

OpenAPI and Postman

Both files are generated from the same endpoint definitions as these pages, so they describe the same 22 endpoints and nothing else.

  • Postman: choose Import, select the file, then set the collection variable apiKey to your key. Every request inherits it. Keep the key in a Postman vault or an environment that you do not share.
  • OpenAPI: import it into any tool that reads OpenAPI 3.1, such as an API client or a code generator. QRBold does not publish official SDKs; a generated client is your own code to maintain.
  • Neither file contains a key. Both point at the live API, because there is no sandbox.

To try a request without installing anything, use the API explorer.