API reference · v1

Neuvon QR API

Create dynamic QR codes from your own software, change where they point after printing, read scan stats and download print-ready images. Available on Pro and Business.

Getting started

  1. Create an account and choose a plan with API access.
  2. In the app, go to QR Codes → API and create a key. It’s shown once: store it somewhere safe.
  3. Send requests to https://qr.neuvon.co/api/v1/qr with the key as a Bearer token.
curl -X POST https://qr.neuvon.co/api/v1/qr/codes \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Spring menu", "target_url": "https://example.com/menu"}'

Requests and responses are JSON (except images). Every error has a message you can show to people, and most have an error code you can check in your software.

Authentication

Send Authorization: Bearer YOUR_API_KEY with every request. Keys look like 4|nvn_… and belong to an account, not a person, so they keep working when people leave the team.

A key is either read & write or read only (GET requests only). Keys are stored as fingerprints, so a lost key can’t be shown again: revoke it and create a new one. Never put a key in a web page or app that others can download.

Rate limits

PlanRequests a minuteDynamic codes
Pro60100
Business3001,000

The limit is shared by all of an account’s keys. Responses include X-RateLimit-Limit and X-RateLimit-Remaining; over the limit you get 429 with Retry-After. Codes made through the API count towards the plan like any other.

Errors

{
  "message": "This API key can’t do that: it needs the qr:write permission.",
  "error": "insufficient_scope"
}
StatuserrorMeaning
401—No API key, or the key was revoked.
403plan_requiredThe account’s plan doesn’t include the API.
403insufficient_scopeA read-only key tried to change something.
403limit_reachedAll the plan’s dynamic codes are in use.
403code_read_onlyThe code is over the plan’s allowance and can’t be changed.
403code_blockedNeuvon blocked the code; it can’t be resumed.
403account_suspendedThe account is suspended.
404—No such code on this account.
422—Validation failed; see errors.
429rate_limitedToo many requests; wait for Retry-After seconds.
503renderer_unavailableImages are briefly unavailable; try again shortly.

Validation errors (422) list problems per field:

{
  "message": "Enter a full web address starting with https://",
  "errors": { "target_url": ["Enter a full web address starting with https://"] }
}

Codes

A code looks like this:

{
  "id": 123,
  "name": "Spring menu",
  "type": "link",                     // "link", or "gs1" for product codes
  "short_url": "https://q.neuvon.co/K7MX2QP",  // what the QR code contains
  "target_url": "https://example.com/menu",
  "gtin": null,                       // product codes only
  "status": "active",                 // active, paused or blocked
  "editable": true,                   // false when over the plan's allowance
  "switched_off": false,              // true when over the allowance for 30+ days
  "design": { "fg": "#111827", "bg": "#ffffff" },
  "scans": 1284,
  "last_scanned_at": "2026-10-12T19:40:00+00:00",
  "created_at": "2026-06-01T10:00:00+00:00",
  "updated_at": "2026-10-01T08:12:00+00:00",
  "image": {
    "png": "https://qr.neuvon.co/api/v1/qr/codes/123/image?format=png",
    "svg": "https://qr.neuvon.co/api/v1/qr/codes/123/image?format=svg"
  }
}

GET/codes

The account’s codes, newest first. Query: status (active, paused, blocked), search (name, destination or short code), per_page (1–100, default 25), page.

Returns data (codes) with current_page, last_page, per_page, total and next_page_url.

POST/codes

Create a web-link code. Body: target_url (required, http or https), name (optional; the site’s name is used if left out), design (optional, see below). Returns 201 with the code and a Location header.

Destinations are checked for safety: links to known scam or malware sites are refused with 422. Product (GS1) codes are created in the app.

GET/codes/{id}

One code.

PATCH/codes/{id}

Change any of target_url, name, design (or null to remove it), and status (active or paused). A paused code shows a “paused” page when scanned. Printed codes follow changes straight away.

curl -X PATCH https://qr.neuvon.co/api/v1/qr/codes/123 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target_url": "https://example.com/summer-menu"}'

DELETE/codes/{id}

Delete a code. Returns 204. Printed copies show a “not active” page, and the short link is never reused.

Design

fg and bg are hex colours (e.g. #1e1b4b). They must contrast enough for phones to scan: a dark code on a light background. Optional gradient: {"type": "linear", "to": "#7c3aed", "angle": 45} or "radial". Logos are uploaded in the app and referenced by logo (an id) with logoSize small, medium or large.

Scan stats

GET/codes/{id}/stats

Query: period 7d, 30d (default) or 90d.

{
  "period": "30d", "from": "2026-09-14", "to": "2026-10-13", "bucket": "day",
  "totals": { "scans": 1284, "visitors": 1002, "previous_scans": 1103 },
  "series": [{ "date": "2026-09-14", "scans": 41, "visitors": 35 }, ...],
  "countries": [{ "key": "ZA", "count": 520 }, ...],
  "devices": [{ "key": "mobile", "count": 1101 }, ...],
  "os": [...], "browsers": [...]
}

Visitors are estimated with an anonymous ID that changes daily; Neuvon doesn’t store IP addresses. Repeated scans from the same device are capped so they don’t inflate the numbers.

Images

GET/codes/{id}/image

The code as an image, with its design. Query: format png (default) or svg, size 64–4096 pixels wide (default 1024). Use SVG for print.

curl "https://qr.neuvon.co/api/v1/qr/codes/123/image?format=png&size=2000" \
  -H "Authorization: Bearer YOUR_API_KEY" -o code.png

Responses carry an ETag; send it back as If-None-Match to get 304 Not Modified when nothing changed.

Account

GET/account

{
  "account": { "id": 42, "name": "Bistro" },
  "plan": "pro",
  "codes": { "used": 37, "limit": 100 },
  "requests_per_minute": 60
}

AI assistants (MCP)

Manage your codes from AI assistants that support MCP, such as Claude, Cursor and VS Code. Ask in plain words: “Make a QR code for our spring menu” or “How many scans did the flyer get this week?”. The assistant uses an API key, so the plan, the rules and the rate limit are the same as for the API.

Server: https://qr.neuvon.co/mcp, with your API key as a Bearer token. With a read-only key the assistant can look but not change anything. In Claude Code:

claude mcp add --transport http neuvon https://qr.neuvon.co/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Most other apps take a setting like this; see your app’s MCP instructions for its exact format:

{
  "mcpServers": {
    "neuvon": {
      "url": "https://qr.neuvon.co/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
get_accountPlan, codes used and allowed
list_codesFind codes by name, destination or status
get_codeOne code
create_codeA new dynamic code
update_codeChange where it points, its name or design; pause or resume it
delete_codeDelete a code
get_scan_statsScans over 7, 30 or 90 days
get_qr_imageThe image, as PNG or SVG

Questions or a use case we don’t cover yet? Email support@neuvon.co.