QRBlock API Documentation
Programmatically generate, read, and track your QR codes.
Welcome to the interactive Developer API. You can test endpoints directly from this page!
Paste your API Key here to interact with the endpoints. All requests use the Authorization: Bearer header. Find your api key or make a new one here
Create QR Code
/api/v1/qrProgrammatically create static or dynamic QR codes.
Test Endpoint
Request Body Example
{
"type": "url", // Required: "url", "text", "wifi", "email", "vcard"
"qr_value": "https://...", // Required: The destination or data
"is_dynamic": true, // Optional: Defaults to true
"settings": { // Optional: Custom styling
"color": "#000000",
"bgColor": "#ffffff",
"level": "H",
"logoUrl": "/api/logo/..." // Use the /logo endpoint to upload this!
}
}Upload Logo
/api/v1/logoSend an image file via multipart/form-data under the key file. We will automatically optimize it to WebP format.
Required for GET, PATCH, DELETE, and Analytics. You can create a QR code above and use its ID here.
List & Read
/api/v1/qrReturns an array of the latest QR codes in your workspace. Use ?limit= to paginate.
/api/v1/qr/:idReturns details for a specific QR code.
Update & Delete
/api/v1/qr/:idUpdate a dynamic QR code. Send a JSON body with qr_value or settings.
/api/v1/qr/:idPermanently delete a QR code.
Analytics & Images
/api/v1/qr/:id/analyticsReturns time-series data and breakdowns for OS, Device, and Referrer.
/api/v1/qr/:id/imageDownloads or streams the raw QR code image. This endpoint can be embedded directly in an <img> tag. Optional Query Parameters: ?format=png (default) or ?format=svg.
API RESPONSE
// Ready. Enter your API Key to begin testing...