QRFLOW.codes Codes API
The codes API from QRFLOW.codes — 6 operation(s) for codes.
The codes API from QRFLOW.codes — 6 operation(s) for codes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/qrflow-codes:qrflow-codes-codes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: QRFLOW. Codes API
version: 1.0.0
summary: Create QR codes, change where dynamic codes point, pull scan analytics, bulk-generate, manage webhooks.
description: 'Everything the QRFLOW.codes dashboard does, from your own code. Authenticate with a Business API key (`Authorization: Bearer qrf_live_…`, made on the Account page) or an OAuth token from https://qrflow.codes/oauth/authorize. Dynamic codes (url, phone, email, sms, location on paid plans) can be re-pointed after printing; their printed link uses the account''s own domain when one is connected. Also available as an MCP server at https://qrflow.codes/mcp for Claude, ChatGPT, Cursor and Claude Code.'
termsOfService: https://qrflow.codes/terms
contact:
name: QRFLOW.codes
url: https://qrflow.codes/developers
email: hello@qrflow.codes
servers:
- url: https://qrflow.codes/api/v1
security:
- bearerAuth: []
tags:
- name: Codes
paths:
/codes:
get:
tags:
- Codes
summary: List codes, newest first
operationId: listCodes
parameters:
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 50
- name: q
in: query
description: Search labels
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
codes:
type: array
items:
$ref: '#/components/schemas/Code'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Key lacks codes:read
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
tags:
- Codes
summary: Create a code
operationId: createCode
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateCode'
examples:
url:
value:
type: url
destination_data:
url: https://example.com/menu
label: Table tents
frame_style: caption-below
frame_caption: Scan for menu
wifi:
value:
type: wifi
destination_data:
ssid: CafeGuest
password: latte-2026
encryption: WPA
label: Counter card
googleReview:
value:
type: url
destination_data:
subtype: googlereview
placeId: ChIJN1t_tDeuEmsRUsoyG83frY4
label: Receipt footer
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
code:
$ref: '#/components/schemas/Code'
'400':
description: Invalid fields or destination, or the saved-codes ceiling
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: The plan does not include this kind
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/codes/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
get:
tags:
- Codes
summary: One code
operationId: getCode
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
code:
$ref: '#/components/schemas/Code'
'404':
description: No such code in this account
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
patch:
tags:
- Codes
summary: Change a code (send only what changes)
operationId: updateCode
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateCode'
example:
destination_data:
url: https://example.com/menu-fall
slug: menu
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
code:
$ref: '#/components/schemas/Code'
'400':
description: Not dynamic, invalid name, no domain
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Link name already used
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
tags:
- Codes
summary: Delete a code and its scans
operationId: deleteCode
responses:
'204':
description: Deleted
'404':
description: No such code
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/codes/{id}/dynamic:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
post:
tags:
- Codes
summary: Make a static code dynamic (re-render the image afterwards)
operationId: makeDynamic
responses:
'200':
description: OK
'400':
description: This kind cannot be dynamic
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Needs a paid plan
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/codes/{id}/image.png:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: size
in: query
schema:
type: integer
minimum: 256
maximum: 2048
default: 1024
- name: exp
in: query
description: 'From png_download_url: signed access without a bearer'
schema:
type: integer
- name: sig
in: query
schema:
type: string
get:
tags:
- Codes
summary: Plain PNG of the code (no frame or logo)
operationId: getImagePng
security:
- bearerAuth: []
- {}
responses:
'200':
description: PNG
content:
image/png:
schema:
type: string
format: binary
'401':
description: No bearer and no valid signed link
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/codes/{id}/image.svg:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: size
in: query
schema:
type: integer
minimum: 256
maximum: 4096
default: 1024
- name: exp
in: query
description: 'From svg_download_url: signed access without a bearer'
schema:
type: integer
- name: sig
in: query
schema:
type: string
get:
tags:
- Codes
summary: Print-ready SVG with frame and colors
operationId: getImage
security:
- bearerAuth: []
- {}
responses:
'200':
description: SVG
content:
image/svg+xml:
schema:
type: string
/codes/bulk:
post:
tags:
- Codes
summary: Create many dynamic URL codes (up to 2,000 rows)
operationId: bulkCreate
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- rows
properties:
rows:
type: array
items:
type: object
required:
- destination
properties:
destination:
type: string
format: uri
label:
type: string
maxLength: 120
fg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
bg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
codes:
type: array
items:
$ref: '#/components/schemas/Code'
rejected:
type: array
items:
type: object
properties:
destination:
type: string
reason:
type: string
remaining_this_month:
type: integer
'400':
description: Over the monthly or per-request allowance
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
UpdateCode:
type: object
properties:
destination_data:
type: object
additionalProperties:
type: string
label:
type:
- string
- 'null'
paused:
type: boolean
expires_at:
type:
- string
- 'null'
format: date-time
slug:
type:
- string
- 'null'
pattern: ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
domain_id:
type:
- string
- 'null'
format: uuid
fg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
bg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
frame_style:
type: string
frame_caption:
type:
- string
- 'null'
frame_caption2:
type:
- string
- 'null'
Code:
type: object
properties:
id:
type: string
format: uuid
label:
type:
- string
- 'null'
kind:
type: string
kind_label:
type: string
type:
type: string
destination_data:
type: object
destination:
type: string
dynamic:
type: boolean
dynamic_capable:
type: boolean
short_code:
type: string
short_url:
type: string
description: What to print for a dynamic code
domain_id:
type:
- string
- 'null'
fg_color:
type: string
bg_color:
type: string
has_logo:
type: boolean
frame_style:
type:
- string
- 'null'
frame_caption:
type:
- string
- 'null'
scans:
type: integer
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
manage_url:
type: string
image_url:
type: string
description: Print-ready SVG; needs the Authorization header
svg_download_url:
type: string
description: Same SVG through a signed link that works for 24 hours with no header
png_download_url:
type: string
description: Plain PNG (no frame or logo) through a signed 24-hour link
download_expires_at:
type: string
format: date-time
Error:
type: object
properties:
error:
type: string
examples:
- invalid_request
- invalid_token
- upgrade_required
- insufficient_scope
- not_found
- conflict
- rate_limited
message:
type: string
CreateCode:
type: object
required:
- type
- destination_data
properties:
type:
type: string
enum:
- url
- text
- wifi
- vcard
- email
- phone
- sms
- location
destination_data:
type: object
additionalProperties:
type: string
description: The fields for the type; add `subtype` (from /catalog) for a specific kind such as instagram or googlereview
label:
type: string
maxLength: 120
fg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
bg_color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
example: '#0F172A'
frame_style:
type: string
frame_caption:
type: string
maxLength: 60
frame_caption2:
type: string
maxLength: 60
domain_id:
type:
- string
- 'null'
format: uuid
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A Business API key (qrf_live_…) or an OAuth access token.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://qrflow.codes/oauth/authorize
tokenUrl: https://qrflow.codes/api/oauth/token
refreshUrl: https://qrflow.codes/api/oauth/token
scopes:
profile: Plan and email
codes:read: Read codes
codes:write: Create, edit, delete codes
analytics:read: Scan analytics
domains:read: Link domains
webhooks:manage: Webhooks
externalDocs:
url: https://qrflow.codes/developers
description: Human-readable reference with curl examples
x-mcp:
url: https://qrflow.codes/mcp
transport: streamable-http
auth: oauth2 (dynamic client registration, PKCE S256) or a Business API key as bearer
x-rate-limits:
api_keys: 600 requests per minute per key
bulk: 10,000 codes per month on Business, 2,000 per request