GET/qrsList QR codes. Supports page, per_page, q, mode, type, archived, favorites, and folder_id filters.
MizQR for developers
Create, manage and understand your QR codes from your server. A practical API for your next integration.
Available to verified Premium workspaces.
https://api.mizqr.com/apiBearer token01 · Quickstart
Create a key in Dashboard → Developers. Select read access for reports or management access for QR changes. Copy the key when it is shown; MizQR only displays it once.
curl https://api.mizqr.com/api/qrs \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_MIZQR_API_KEY"02 · Create QR codes
Dynamic URL, PDF, media, and MP3 codes use an HTTP or HTTPS destination. App codes choose the iOS or Android store URL from the visitor’s device, with a fallback URL. Structured landing pages use a type-specific payload for social profiles, link lists, playlists, landing pages, menus, products, and contact/business details. Static codes use /qrs/static and store the already encoded value in static_value; 2D barcodes set type: "barcode" and choose design.barcode_format from Data Matrix, GS1 DataMatrix, PDF417, Aztec, or Micro QR. GS1 DataMatrix accepts parenthesized Application Identifier strings such as (01)09521234543213(17)250630(10)LOT123. QR IDs in responses are public IDs, not database row IDs.
curl -X POST https://api.mizqr.com/api/qrs \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MIZQR_API_KEY" \
-d '{
"title": "Spring campaign",
"type": "url",
"destination_url": "https://example.com/spring",
"short_code": "spring-campaign",
"routing_rules": {
"languages": [{ "code": "es", "url": "https://example.com/es" }],
"countries": [{ "code": "PK", "url": "https://example.com/pk" }]
},
"query_parameters": [{ "key": "utm_source", "value": "qr" }],
"design": { "dot_color": "#273c75", "background_color": "#ffffff", "dot_style": "rounded" }
}'short_code is optional and unique across workspaces. Use 3–20 lowercase letters, numbers, hyphens, or underscores; omit it to generate a code automatically. Changing an existing code disables its previous link.
routing_rules and query_parameters are optional and only apply to type: "url". Country rules match first using the local DB-IP City Lite database; when no country match is available, the visitor’s preferred browser language is checked (for example pt-BR with a pt fallback), then destination_url. Configured query parameters are applied to the resolved URL; a matching key replaces its existing value. If the DB-IP City Lite database is missing, country rules are skipped and language/default routing continues.
Structured payload examples: text uses {"text":"..."}; Wi-Fi uses {"ssid":"...","password":"...","security":"WPA"}; link lists use links, playlists use tracks, and custom landing pages use buttons arrays.
Static QR content is embedded in the printed code. Changing the saved value does not change copies already printed. Static QR API access follows the same API key and workspace access rules.
03 · Bulk API
Send 1–200 codes per request. Dynamic batches support the full dynamic QR catalog (including Image gallery, Video, and Landing page); every dynamic code gets its own editable short link. Static batches embed the supplied static_value directly, so printed codes do not depend on MizQR. The optional design is applied to every row. Both endpoints return the created records in the same order as the request; invalid rows reject the batch.
curl -X POST https://api.mizqr.com/api/qrs/bulk \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MIZQR_API_KEY" \
-d '{
"codes": [
{ "title": "Summer gallery", "type": "images", "payload": { "title": "Summer", "images": [{ "caption": "Beach", "url": "https://example.com/beach.jpg" }] } },
{ "title": "Store landing", "type": "landing", "payload": { "title": "Visit us", "buttons": [{ "label": "Shop now", "url": "https://example.com/shop" }] } }
],
"design": { "dot_color": "#273c75", "background_color": "#ffffff", "dot_style": "rounded" }
}'Bulk JSON creates records and returns their IDs and short links; downloadable PNG/SVG/PDF/EPS archives are provided by the signed-in Bulk QR workspace. Batch requests are rate-limited separately from single-code creation. Bulk API access requires a verified Premium workspace and a management-scoped API key.
04 · Endpoint reference
GET/qrsList QR codes. Supports page, per_page, q, mode, type, archived, favorites, and folder_id filters.
POST/qrsCreate a dynamic QR code with an optional unique 3–20 character short_code, destination_url or payload, routing rules, URL parameters, and design.
POST/qrs/bulkCreate up to 200 dynamic QR codes in one request. Supports every dynamic type, including Image gallery, Video, and Landing page; an optional design is shared by the batch.
POST/qrs/bulk-staticSave up to 200 independent static QR codes without consuming dynamic QR limits. Each row provides a type and its already encoded static_value.
POST/qrs/bulk-manageApply archive, restore, pause, resume, favorite, unfavorite, move_folder, or delete to up to 100 QR IDs.
POST/qrs/staticSave a static QR to the workspace. Provide its encoded static_value, type, title, and optional design or folder.
GET/qrs/{id}Read a QR code by its public ID.
PATCH/qrs/{id}Change its destination, optional short_code, language/country routing rules, URL parameters, content, design, folder, schedule, or favorite state. Changing short_code disables the previous link.
POST/qrs/{id}/archiveArchive a QR code while preserving its scan history.
POST/qrs/{id}/restoreRestore an archived QR code.
POST/qrs/{id}/pauseTemporarily stop an active dynamic QR short link without archiving the code or deleting its scan history.
POST/qrs/{id}/resumeReactivate a paused dynamic QR on the same short link.
POST/qrs/{id}/duplicateCreate a new QR from an existing code's content and design, with a fresh QR identity and scan history.
GET/qrs/{id}/analyticsRead scan totals, hourly and daily trends, device/browser, opt-in language/location breakdowns, clicks, feedback, and recent events for one QR. Optional from/to dates use the workspace time zone and accept ranges up to 366 days.
POST/qrs/{id}/analytics/resetReset a QR's scan, click, and feedback analytics after email verification. Existing scan-limit usage is unchanged.
GET/analytics/overviewRead workspace totals, daily/hourly trends, device, opt-in language/location breakdowns, recent events, and top QR codes. Filters: from, to, qr_ids[] (up to 50), folder_id, operating_system, country_code, and city.
05 · Errors and access
401Missing or invalid API key.403Key access level, email verification, or workspace role does not allow the action.402Premium plan is required for API use or the workspace limit has been reached.422Request fields failed validation.429Rate limit reached. Wait before retrying.List responses are paginated and include a meta object. The default page size is 25 and the maximum is 100. Overview reports accept optional from and to dates up to 366 days; dates and daily grouping use the workspace time zone. Approximate location needs GeoIP data; visitor-language reports are collected only after owner opt-in.
A working starting point for your integration
Download a small Node.js 22+ example with no npm dependencies. Run it on your server or development computer, using an API-enabled workspace and a management key from Developer settings.
| Action | API request | Result |
|---|---|---|
| Create | POST /qrs | One saved dynamic URL QR, with a UUID and short link. |
| Update | PATCH /qrs/{id} | A new destination behind the same printed short link. |
| Measure | GET /qrs/{id}/analytics | Recorded scan totals for the chosen reporting period. |
Copy the API base from the reference and set MIZQR_API_BASE and MIZQR_API_TOKEN in your server environment. The setup file includes PowerShell and Bash instructions that prompt for the key. Use the UUID returned in data.id for later calls.
# After setting your server's API base and key:
node mizqr-api-example.mjs create --title "Menu campaign" --url https://example.com/menu
# Replace QR_ID with the UUID returned in the create response:
node mizqr-api-example.mjs update QR_ID --url https://example.com/new-menu
# Choose your reporting dates:
node mizqr-api-example.mjs analytics QR_ID --from 2026-11-01 --to 2026-11-14The create command adds a real record and uses your plan allowance. It returns JSON; export the saved QR’s printable artwork from the workspace. Changing a dynamic destination keeps its short link, while an existing static QR stays as encoded.
The example reports validation fields and rate-limit timing without logging your key or private error values. It does not retry writes automatically: a lost response can follow a successful save. Check the workspace before repeating a create or update. Scan totals can be zero and do not establish sales or bookings.