Developers
Primitives, not a walled garden.
A REST API, HMAC-signed scan webhooks, tamper-proof links and a polling feed for Zapier and Make. Your codes and your scan data, wherever you need them.
The API, webhooks, scan feed and signed links are on the Pro plan — $19/month, with a 14-day free trial.
- Base URL
- /api/v1
- JSON in, JSON out.
- Auth
- Workspace token
- Sent as a bearer token in the Authorization header. Workspace admins create tokens in settings.
- Scope
- One workspace
- A token sees only its workspace’s codes and scans.
- Rate limit
- 120 / minute
- Per token. Over the limit you get 429 {"error":"rate_limited"}.
REST API
Create, update and measure codes from your own code.
Every endpoint is scoped to the token’s workspace. Dynamic codes created over the API behave exactly like ones made in the dashboard — change the destination later and the printed code keeps working.
-
GET
/api/v1/qr_codesList codes, newest first. page, per (max 100).
-
POST
/api/v1/qr_codesCreate a static or dynamic code.
-
GET
/api/v1/qr_codes/:idFetch one code.
-
PATCH
/api/v1/qr_codes/:idUpdate a code — for example, change its destination.
-
DELETE
/api/v1/qr_codes/:idDelete a code.
-
GET
/api/v1/qr_codes/:id/analytics30-day rollups: totals, uniques, scans by day, top devices, OS, browsers, referrers.
-
GET
/api/v1/qr_codes/:id/scansThe latest 1,000 scans as JSON, or every scan with .csv.
-
GET
/api/v1/scansWorkspace scan feed, humans only. since (ISO 8601), per (max 200).
Create a dynamic code
curl -X POST https://qrish.com/api/v1/qr_codes \
-H 'Authorization: Token token="YOUR_API_TOKEN"' \
-H 'Content-Type: application/json' \
-d '{
"qr_code": {
"name": "Spring flyer",
"dynamic": true,
"destination_url": "https://example.com/spring",
"utm": { "source": "flyer", "campaign": "spring" }
}
}'
Change where it points
curl -X PATCH https://qrish.com/api/v1/qr_codes/42 \
-H 'Authorization: Token token="YOUR_API_TOKEN"' \
-H 'Content-Type: application/json' \
-d '{ "qr_code": { "destination_url": "https://example.com/summer" } }'
Response
HTTP/1.1 201 Created
{
"id": 42,
"name": "Spring flyer",
"content_type": "link",
"dynamic": true,
"slug": "ab12CD9",
"destination_url": "https://example.com/spring",
"scans_count": 0,
"unique_scans_count": 0,
"last_scanned_at": null,
"created_at": "2026-11-07T09:00:00.000Z",
"updated_at": "2026-11-07T09:00:00.000Z",
"content_data": {},
"redirect_url": "https://qrish.com/r/ab12CD9",
"encoded_value": "https://qrish.com/r/ab12CD9"
}
Errors
401 {"error":"unauthorized"}— missing or revoked token402 {"error":"upgrade_required"}— the workspace is on Free404 {"error":"not_found"}— not in this workspace422 {"errors":[…]}— validation messages429 {"error":"rate_limited"}— slow down
Webhooks
A signed POST for every scan.
Register a URL in workspace settings and we send scan.created each time a person scans one of your dynamic codes. Bots and link previews are not sent. The payload carries the same coarse fields as your dashboard — never an IP address.
POST /your/endpoint
Content-Type: application/json
User-Agent: qrish-webhooks/1
X-Qrish-Event: scan.created
X-Qrish-Delivery: 7f3c2a9e-… (same on every retry)
X-Qrish-Signature: sha256=5d41402abc4b2a76…
{
"event": "scan.created",
"occurred_at": "2026-11-07T09:14:02Z",
"qr_code": {
"id": 42,
"name": "Spring flyer",
"slug": "ab12CD9",
"redirect_url": "https://qrish.com/r/ab12CD9"
},
"scan": {
"id": 981,
"device_type": "mobile",
"os": "iOS 18.1",
"browser": "Safari",
"referrer": null,
"country": null,
"region": null,
"city": null,
"bot": false,
"redirect_rule_id": null
}
}
# Rails controller action
def qrish_webhook
body = request.raw_post
expected = "sha256=" + OpenSSL::HMAC.hexdigest("SHA256", ENV.fetch("QRISH_WEBHOOK_SECRET"), body)
given = request.headers["X-Qrish-Signature"].to_s
return head :unauthorized unless ActiveSupport::SecurityUtils.secure_compare(expected, given)
event = JSON.parse(body)
# … handle event["scan"], de-duplicate on request.headers["X-Qrish-Delivery"]
head :ok
end
import crypto from "node:crypto";
import express from "express";
const app = express();
// Use the raw body: the signature covers the exact bytes we sent.
app.post("/qrish-webhook", express.raw({ type: "application/json" }), (req, res) => {
const expected = "sha256=" + crypto
.createHmac("sha256", process.env.QRISH_WEBHOOK_SECRET)
.update(req.body)
.digest("hex");
const given = req.get("X-Qrish-Signature") || "";
const ok = given.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(given), Buffer.from(expected));
if (!ok) return res.sendStatus(401);
const event = JSON.parse(req.body.toString("utf8"));
// … handle event.scan, de-duplicate on req.get("X-Qrish-Delivery")
res.sendStatus(200);
});
-
Signature
X-Qrish-Signature is sha256= followed by the hex HMAC-SHA256 of the raw body, keyed with your webhook’s signing secret. Compare in constant time.
-
Retries
Timeouts, connection errors, 408, 429 and 5xx are retried with growing delays — five attempts in total. Other 4xx responses are not retried.
-
De-duplicate
X-Qrish-Delivery stays the same across retries, so you can safely ignore repeats.
-
Timeouts
Answer with a 2xx within 5 seconds. We never read your response body.
-
No redirects
A 3xx counts as a failed delivery. Register the final URL.
-
Delivery log
Every attempt is logged on the webhook, and Send test fires a sample event while you build.
Zapier & Make
Wire scans into anything.
Two ways in. For instant triggers, point a qrish webhook at a catch-hook URL from Zapier, Make or n8n. If your tool prefers polling, page the workspace scan feed and pass the newest scanned_at back as since.
The feed returns human scans only, newest first. There are no listed qrish apps in the Zapier or Make directories yet — use their webhook and HTTP modules.
curl "https://qrish.com/api/v1/scans?since=2026-11-07T09:00:00Z&per=50" \
-H 'Authorization: Token token="YOUR_API_TOKEN"'
{
"scans": [
{
"id": 981,
"qr_code_id": 42,
"qr_code_name": "Spring flyer",
"qr_code_slug": "ab12CD9",
"scanned_at": "2026-11-07T09:14:02.000Z",
"country": null,
"region": null,
"city": null,
"device_type": "mobile",
"os": "iOS 18.1",
"browser": "Safari",
"browser_version": "18.1",
"referrer": null,
"redirect_rule_id": null
}
]
}
Signed links
Links that can’t be tampered with.
Mint a signed version of any dynamic code’s link, with or without an expiry. The signature is an HMAC-SHA256 over the slug and expiry, so changing either one breaks it. An altered or expired link returns 410 Gone instead of redirecting.
- Expiring links for one-off access: event entry, time-boxed offers.
- Signature required makes the printed code itself carry a signed link, and refuses the unsigned short link.
- On Pro. Minted from the code’s page in the dashboard.
https://qrish.com/r/ab12CD9?exp=1794049200&sig=9f86d081884c7d65…
sig = HMAC-SHA256(server key, "ab12CD9|1794049200")
Bulk generation
ProNot ready to write code? Upload a CSV of up to 5,000 rows and download every code in a single ZIP.
GS1 Digital Link
Encode a GTIN with batch/lot, serial and expiry as a GS1 Digital Link URI (URI Syntax 1.6.0) — on every plan, in the dashboard or over the API.
Get a token in two minutes.
Sign up for a 14-day Pro trial and issue an API token from workspace settings. No card needed.