Skip to content

Get QR Code

Retrieve a single QR code by ID.

GET /api/v1/qrcodes/:id

Path Parameters

ParameterTypeDescription
idstringUUID of the QR code

Example Request

bash
curl "https://api.qbar-scanner.com/api/v1/qrcodes/550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: qbar_your_key_here"

Response 200 OK

json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "My Website QR",
  "type": "url",
  "content": "https://example.com",
  "style_config": "{\"dotsOptions\":{\"type\":\"rounded\",\"color\":\"#1a1a2e\"}}",
  "folder_id": null,
  "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",
  "request_id": "..."
}

Error Responses

StatusWhen
401Invalid API key
404QR code not found or not owned by you

QBar Scanner Developer API