Skip to content
REST API Reference

Complete /api/v1 Endpoint Reference.

Every endpoint accepts and returns UTF-8 JSON (or binary PNG, SVG, ZIP, PDF, and CSV where noted). Import https://dynamicqr.io/openapi.json into Postman, Insomnia, Bruno, or OpenAPI Generator.

QR Codes & Downloads

Manage all 8 QR code types (link, vcard, email, phone, sms, bitcoin, geo, wifi). Dynamic link QR codes can be updated anytime without changing the printed code.

GET /api/v1/usage

Return plan tier, active QR count, limit, extra packs, and paused count

Pro & Business
GET /api/v1/qr-codes

List, search, filter by type or tag, sort, and paginate QR codes

Pro & Business
POST /api/v1/qr-codes

Create any of the 8 QR code types with styling, CTA frame, logo, custom domain, and smart redirects

Pro & Business
GET /api/v1/qr-codes/{id}

Fetch full QR code details, routing_rules, share_url, scan count, and inline SVG

Pro & Business
PATCH /api/v1/qr-codes/{id}

Update destination link, name, style, controls, custom domain, or smart redirect rules

Pro & Business
PUT /api/v1/qr-codes/{id}/tags

Replace up to 10 tags/folders on any dynamic or static QR code

Pro & Business
DELETE /api/v1/qr-codes/{id}

Delete a QR code and its scan history permanently

Pro & Business
GET /api/v1/qr-codes/{id}/download/{format}

Download binary PNG (?size=64..4000, default 1000) or vector SVG

Pro & Business
Download high-resolution 2000px PNG or vector SVG
curl -L "https://dynamicqr.io/api/v1/qr-codes/42/download/png?size=2000" \
  -H "Authorization: Bearer $DYNAMICQR_API_KEY" \
  -o autumn-menu.png

curl -L "https://dynamicqr.io/api/v1/qr-codes/42/download/svg" \
  -H "Authorization: Bearer $DYNAMICQR_API_KEY" \
  -o autumn-menu.svg

Analytics, CSV Export & Client Share Reports

Query privacy-friendly scan time-series and breakdowns by device, operating system, and country. No cookies or raw IP addresses are stored.

GET /api/v1/qr-codes/stats

Daily scan time-series and device/OS/country breakdowns across the workspace

Pro & Business
GET /api/v1/qr-codes/stats/export

Download UTF-8 BOM CSV analytics report for the whole workspace

Pro & Business
GET /api/v1/qr-codes/{id}/stats

Daily scan stats and breakdowns for one QR code (?range=week|month|three_months|inception|custom)

Pro & Business
GET /api/v1/qr-codes/{id}/stats/export

Download UTF-8 BOM CSV analytics report for one QR code

Pro & Business
POST /api/v1/qr-codes/{id}/share

Enable, regenerate, or disable a public read-only client report link (/share/{token})

Pro & Business
GET /api/public/share/{token}

Public unauthenticated JSON report payload (rate-limited 60 req/min per IP)

Public

Bulk Import, ZIP Export & PDF Print Sheets

Automate large rollouts for product packaging, store signage, event badges, and restaurant table tents in one request.

POST /api/v1/qr-codes/import

Atomically create up to 500 dynamic link QR codes from CSV (comma or semicolon)

Pro & Business
POST /api/v1/qr-codes/export

Stream a ZIP archive of up to 200 styled SVGs or PNGs plus manifest.csv

Pro & Business
POST /api/v1/qr-codes/print-sheet

Generate a multi-page A4 or US Letter PDF label sheet (2, 3, or 4 columns, cut guides)

Pro & Business
Generate a print-ready A4 PDF label sheet (3 columns)
curl -X POST https://dynamicqr.io/api/v1/qr-codes/print-sheet \
  -H "Authorization: Bearer $DYNAMICQR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [101, 102, 103, 104, 105, 106],
    "paper": "a4",
    "columns": 3,
    "show_labels": true,
    "show_cut_guides": true
  }' \
  -o table-stickers.pdf

Scan Webhooks & Custom Short Domains

Receive real-time scan notifications and serve short links from your own branded domain with automatic Let's Encrypt SSL.

GET /api/v1/webhooks

List up to 5 configured HTTPS scan webhooks

Pro & Business
POST /api/v1/webhooks

Create a scan webhook and receive its one-time HMAC signing secret

Pro & Business
PATCH /api/v1/webhooks/{id}

Enable or pause an existing scan webhook

Pro & Business
POST /api/v1/webhooks/{id}/test

Send a signed test qr.scanned payload immediately

Pro & Business
DELETE /api/v1/webhooks/{id}

Delete a scan webhook

Pro & Business
GET /api/v1/domains

List custom short domains, CNAME target, DNS verification, and SSL status

Pro & Business
POST /api/v1/domains

Register a branded domain (3 on Pro, 10 on Business)

Pro & Business
POST /api/v1/domains/{id}/verify

Verify DNS CNAME or TXT ownership and start automatic SSL provisioning

Pro & Business
POST /api/v1/domains/{id}/ssl

Retry or refresh Let's Encrypt SSL certificate provisioning

Pro & Business
PATCH /api/v1/domains/{id}

Toggle default domain for new dynamic link QR codes

Pro & Business
DELETE /api/v1/domains/{id}

Remove a custom domain

Pro & Business

Frequently Asked Questions

Where is the machine-readable OpenAPI schema?

Download or import https://dynamicqr.io/openapi.json (OpenAPI 3.1.0). It is served publicly with CORS enabled.

Can I create vCard 3.0 business card QR codes via the API?

Yes. Pass type: "vcard" along with first_name, last_name, organization, job_title, email, phone, website, street, city, and country.

Ready to ship dynamic QR codes?

Generate a Bearer API key in seconds and connect your backend, Zapier, or AI agent.

Create Free Account