Get QR Code
Retrieve a single QR code by ID.
GET /api/v1/qrcodes/:idPath Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | UUID 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
| Status | When |
|---|---|
401 | Invalid API key |
404 | QR code not found or not owned by you |