Skip to content

API Endpoints Overview

All endpoints require the X-API-Key header. The base URL is:

https://api.qbar-scanner.com/api/v1/

Endpoints

MethodPathDescription
POST/qrcodesCreate a single QR code
POST/qrcodes/bulkBulk create QR codes (max 50)
GET/qrcodesList your QR codes (paginated)
GET/qrcodes/:idGet a single QR code
PUT/qrcodes/:idUpdate a QR code
DELETE/qrcodes/:idDelete a QR code
GET/qrcodes/:id/imageGet QR code SVG image

Common Response Fields

Every response includes:

FieldTypeDescription
request_idstringUnique request ID for debugging

Common QR Code Object

json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "type": "url",
  "name": "My Website QR",
  "content_string": "https://example.com",
  "is_dynamic": true,
  "status": "active",
  "scans": 42,
  "short_code": "aB3cD4eF",
  "dynamic_url": "https://qbar-scanner.com/r/aB3cD4eF",
  "image_url": "https://api.qbar-scanner.com/api/v1/qrcodes/550e.../image",
  "created_at": "2025-01-15T10:30:00.000Z",
  "updated_at": "2025-01-15T10:30:00.000Z"
}
FieldTypeDescription
idstringUUID of the QR code
typestringQR code type (see QR Types)
namestringDisplay name
content_stringstringEncoded QR content
is_dynamicbooleanWhether this is a dynamic (trackable) QR code
statusstringAlways "active"
scansnumberTotal scan count (dynamic QR codes only)
short_codestring?Short code for dynamic QR codes
dynamic_urlstring?Redirect URL for dynamic QR codes
image_urlstringURL to render this QR code as an image
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 last update timestamp

QBar Scanner Developer API