QRecode
Home For Business QR Codes On Features Contact
Log In Sign Up Free
For Business QR Codes On Contact Log In Sign Up Free

API Documentation

For Business-plan customers

Overview

The QRecode API lets you create and manage dynamic QR codes programmatically. It's a standard REST API returning JSON. API access is included with the Business plan.

Authentication

Generate an API key from your Account settings. Send it as a Bearer token on every request:

Authorization: Bearer qre_live_your_key_here

Keep your keys secret. If a key is exposed, revoke it from your account and generate a new one. Requests are limited to 120 per minute per key.

Base URL

https://qrecode.com/wp-json/qre/v1

Endpoints

List your codes

GET https://qrecode.com/wp-json/qre/v1/codes

Create a code

POST https://qrecode.com/wp-json/qre/v1/codes
Content-Type: application/json

{
  "title": "My campaign",
  "destination_url": "https://example.com/landing",
  "type": "url"
}

Returns the created code including its slug and scan URL. The scan URL is what you encode into the printed QR — you can change destination_url later without reprinting.

Get a single code

GET https://qrecode.com/wp-json/qre/v1/codes/{id}

Update a code

PUT https://qrecode.com/wp-json/qre/v1/codes/{id}
Content-Type: application/json

{ "destination_url": "https://example.com/new-target" }

Delete a code

DELETE https://qrecode.com/wp-json/qre/v1/codes/{id}

Get analytics

GET https://qrecode.com/wp-json/qre/v1/analytics?code_id={id}

Returns scan totals, unique scans, and a time series for the code.

Example (cURL)

curl -X POST https://qrecode.com/wp-json/qre/v1/codes \
  -H "Authorization: Bearer qre_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"title":"Menu","destination_url":"https://cafe.example/menu","type":"url"}'

Errors

The API uses standard HTTP status codes. 401 means a bad or missing key, 403 means your plan doesn't allow the action, 429 means you've hit the rate limit, and 400 means a required field is missing.

Need help?

Email support@qrecode.com and we'll help you get set up.

QRecode

Create, track, and manage QR codes with no expiry traps.

Product

Create QR Code Features Pricing Contact Us

QR for Business

Restaurants Retail Events Hotels View all 30 →

QR Codes On

Business Cards Menus Flyers Posters View all 36 →

Account

Sign Up Free Log In

© 2026 QRecode. All rights reserved.

Privacy Policy Terms of Service Contact Us Cookie Policy Cookie preferences

We use cookies to keep you signed in and remember your preferences. We don't use advertising or tracking cookies. Cookie policy

Cookie Settings

We use cookies to make QRecode work. Choose which cookies you're happy for us to use. Essential cookies cannot be disabled — they're needed to keep you signed in. Privacy Policy · Cookie Policy

Essential

Login sessions, security tokens, and WordPress core functionality. The site cannot work without these.

Always on
wordpress_logged_in_* — Keeps you signed in · Session / 14 days
wordpress_sec_* — Security and CSRF protection · Session
qre_cookie_consent — Stores your cookie preferences · 365 days
Functional

Saves your WordPress preferences such as dashboard column widths and notification dismissals.

wp-settings-* — WordPress UI preferences · 1 year
Analytics

QRecode does not currently use analytics cookies. QR code scan analytics are collected server-side only — no cookies are placed on visitors' devices.

Not used