QR Codes API
Create, customize, re-target, and export print-ready vector SVG & PNG QR codes via REST.
1. Create Dynamic QR (POST /api/v1/qr)
Generates a new dynamic QR code allocated to your Workspace. Consumes 1 QR Credit. Supported types: url, location, whatsapp, vcard, wifi, pdf, image, social.
POST /api/v1/qr
Authorization: Bearer qrs_live_...
Content-Type: application/json
{
"name": "Flagship Retail Store Location",
"type": "location",
"targetUrl": "https://maps.google.com/?q=19.0760,72.8777",
"isDynamic": true,
"design": {
"fgColor": "#0f172a",
"bgColor": "#ffffff",
"brandingMode": "qrsimple",
"brandingPosition": "bottom-right",
"frameStyle": "bottom-bar",
"frameText": "SCAN FOR DIRECTIONS"
}
}2. Update Dynamic Destination (PATCH /api/v1/qr/:id)
Instantly switches destination URL for a live printed QR code. 0 credits consumed.
PATCH /api/v1/qr/qr_99x82ka71m
Authorization: Bearer qrs_live_...
Content-Type: application/json
{
"targetUrl": "https://restaurant.com/menu/summer-special"
}