Skip to main content

Get QR Code

Retrieve a single QR code by its ID, including full content and design data.

GET/qr-codes/:id

Headers

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

Path Parameters

ParameterTypeDescription
idstringThe QR code ID (e.g., qr-aBc123XyZ9)

Response Fields

Top-level

FieldTypeDescription
objectstringObject type, always "qr"
successbooleanWhether the request succeeded

Data object

FieldTypeDescription
idstringUnique identifier for the QR code
namestringUser-defined name
typestringQR code type (url, vCard, wifi, etc.)
contentobjectThe QR code content data (schema varies by type)
designobjectDesign customization options. Try the Builder.
activebooleanWhether the QR code is active
folder_idstring | nullFolder ID if the QR code is in a folder, otherwise null
folder_namestring | nullFolder name if the QR code is in a folder, otherwise null
short_urlstringThe short URL that redirects when scanned
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp

Request

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

Response

{
"object": "qr",
"success": true,
"data": {
"id": "qr-aBc123XyZ9",
"name": "My Website QR",
"type": "url",
"content": {
"url": "https://example.com"
},
"design": {
"dots": { "style": "rounded", "color": "#6366f1" },
"corners": { "style": "extra-rounded", "color": "#000000" },
"corners_dot": { "style": "dot", "color": "#000000" },
"background": { "color": "#ffffff" },
"logo_url": null,
"margin": 10
},
"active": true,
"folder_id": "fld-aBc123XyZ9",
"folder_name": "Marketing Campaign",
"short_url": "https://qr-build.io/qr-aBc123XyZ9",
"created_at": "2026-02-16T10:30:00Z",
"updated_at": "2026-02-16T10:30:00Z"
}
}

Error — Not Found

{
"success": false,
"error": {
"code": "QR_NOT_FOUND",
"message": "QR code not found"
}
}