Skip to main content
QRelix
Browse documentation

Webhooks, Zapier & Make

Updated

QR code webhooks push a signed JSON message to a URL you choose every time something happens to one of your dynamic QR codes. Use them to log scans in a spreadsheet, alert a Slack channel, update a CRM, or trigger any workflow in Zapier or Make. Every delivery is retried on failure and recorded in a delivery log you can inspect from the dashboard.

Video: how to connect QRelix to Zapier, Make, webhooks, and the API

Prefer to watch? The video guide walks through these steps, and the printable PDF guide has the same steps with screenshots.

What a webhook gives you

  • Instant scan notifications. A qr.scanned event is sent as soon as a scan is recorded, before the visitor even lands on your destination.
  • Change tracking. Events fire when a QR code is created, updated, deleted, paused, or resumed.
  • Signed payloads. Each request carries an HMAC-SHA256 signature so your receiver can prove it came from QRelix.
  • Automatic retries. A failed delivery is tried up to six times in total over roughly ten hours.
  • A delivery log. Every attempt, response code, and error is kept for 30 days and can be resent with one click.

Which plan do I need?

Feature Free Pro Team
Webhooks you add in the dashboard Not included Not included ✓
Zapier and Make apps Not included Not included ✓
API keys and the public API Not included Not included ✓

On Team, every counted scan sends a qr.scanned event.

No-code examples: add a row to Google Sheets for every scan, post to a Slack channel when your event code is scanned, or create a CRM contact when someone scans your business card. Zapier and Make can do all of these without code.

Events

Event When it fires
qr.scanned A QR code was scanned. Includes the QR code and the scan (device, browser, country, destination).
qr.created A new QR code was created.
qr.updated A QR code's name, destination, or settings changed. Includes changedFields.
qr.deleted A QR code was deleted.
qr.status_changed A QR code was paused, resumed, or expired. Includes previousStatus and status.
webhook.test Sent on demand from the dashboard to check an endpoint.

Add an endpoint

You need to be the owner or an admin of the workspace.

  1. Go to Integrations at qrelix.com/dashboard/integrations.
  2. In the Webhook endpoints card, click Add endpoint.
  3. Paste the Endpoint URL that should receive events (it must start with https://) and add a Description such as "Order system".
  4. Under Events, tick what you want: QR code scanned, QR code created, QR code updated, QR code deleted, or Paused or resumed.
  5. Leave Only for on All QR codes, or pick a single code.
  6. Click Add endpoint, then copy the Signing secret from the Endpoint added dialog. You can see it again later on the endpoint's page with Reveal.
  7. Click Send test event and check that your receiver answers with a 2xx status. QRelix shows "Test delivered (HTTP 200)" when it works.

Endpoints must use HTTPS and resolve to a public address. Local and private network addresses are rejected.

Payload format

Every delivery is a POST with Content-Type: application/json. The body is an envelope with a stable event id, the event type, and the event data.

{
  "id": "evt_8mB3xZk2R1qf",
  "type": "qr.scanned",
  "apiVersion": "2026-10-12",
  "createdAt": "2026-10-12T15:04:05.000Z",
  "data": {
    "qrCode": {
      "id": "clz0example0000qrcode",
      "name": "Spring menu",
      "type": "URL",
      "status": "ACTIVE",
      "destinationUrl": "https://example.com/menu",
      "scanCount": 128,
      "landingUrl": "https://www.qrelix.com/landing/clz0example0000qrcode",
      "dashboardUrl": "https://www.qrelix.com/dashboard/qr-codes/clz0example0000qrcode/logs"
    },
    "scan": {
      "id": "clz0example0000scanlog",
      "scannedAt": "2026-10-12T15:04:05.000Z",
      "country": "US",
      "browser": "Safari",
      "os": "iOS",
      "device": "iPhone",
      "isMobile": true,
      "destinationUrl": "https://example.com/menu"
    }
  }
}

Codes that open a hosted page have urlMode set to PAGE, plus pageId and pageUrl. Codes created as File, vCard, Note, Wi-Fi, or Calendar Event keep reporting that type.

The same event id is reused for every retry and for every endpoint the event is sent to, so you can deduplicate on id.

Request headers

Header Meaning
X-QRelix-Signature t=<unix seconds>,v1=<hex HMAC> (see below).
X-QRelix-Event The event type, for routing without parsing the body.
X-QRelix-Event-Id The envelope id.
X-QRelix-Delivery-Id Unique per attempt chain, useful when reading the delivery log.
X-QRelix-Attempt 1 for the first try, then 2, 3, and so on.

Verify the signature

The signature is HMAC-SHA256(secret, "<timestamp>.<raw body>"), hex encoded. Compute it over the raw request body exactly as received, compare in constant time, and reject timestamps older than five minutes.

import { createHmac, timingSafeEqual } from "node:crypto";

export function verifyQRelixWebhook(secret, rawBody, signatureHeader) {
  const parts = Object.fromEntries(signatureHeader.split(",").map((p) => p.split("=")));
  const timestamp = Number(parts.t);
  if (!timestamp || Math.abs(Date.now() / 1000 - timestamp) > 300) return false;

  const expected = createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest("hex");
  const received = parts.v1 || "";
  return received.length === expected.length && timingSafeEqual(Buffer.from(received, "hex"), Buffer.from(expected, "hex"));
}

When you rotate a secret from the endpoint page, deliveries made from that moment on are signed with the new one.

Retries and the delivery log

A delivery succeeds when your endpoint answers with any 2xx status within 10 seconds. Redirects, other status codes, timeouts, and connection errors count as failures. A failed delivery is retried within about 15 minutes, then after about 30 minutes, 2 hours, and 8 hours (six attempts in total, with a little random delay added to each).

If ten deliveries in a row use up all their retries, the endpoint is paused automatically and the reason is shown on its page. Fix the receiver, then click Resume endpoint.

To open an endpoint's page, click View deliveries in its row on the Integrations page. The page lists every delivery with its status, response code, duration, and attempt count. Expand a row to see the exact request body and the response your server returned, and use Resend to deliver it again.

Connect Zapier or Make

Zapier and Make need the Team Plan, because they connect with an API key.

  1. Go to qrelix.com/dashboard/integrations, click Create key in the API keys card, name it "Zapier" or "Make", and copy the key.
  2. In Zapier or Make, add the QRelix app and paste the key when it asks for a connection.
  3. Pick a trigger:
    • Zapier: New Scan, New QR Code, Updated QR Code, Deleted QR Code, or Updated QR Code Status.
    • Make: the Watch events module, then choose the events.
  4. Turn the Zap or scenario on. The app registers a webhook endpoint for you; it appears in your endpoint list labelled with its source.

More details: qrelix.com/integrations/zapier.

Manage endpoints with the API

Team workspaces can create and manage webhook endpoints from code with the webhooks:manage permission: GET, POST, PATCH, and DELETE on /api/v1/webhooks. GET /api/v1/events lists every event with a sample payload. See QR Code API.

Frequently asked questions

Does a webhook slow down the scan? No. The event is queued while the visitor is redirected and delivered after the redirect is sent.

Can I receive events for only one QR code? Yes. Set Only for to a single QR code when adding or editing the endpoint, or pass qrCodeId through the API.

How many endpoints can I have? Up to 20 endpoints per workspace.

Do webhooks cost extra? No. Webhooks are included with the Team Plan. If a workspace leaves Team, its endpoints are kept but stop receiving events until it comes back.

What happens to events while an endpoint is paused? They are not queued. Resume the endpoint to receive new events; events from the paused period are not replayed.

Questions

Can QRelix notify my server when a QR code is scanned?
Yes. A webhook subscribed to qr.scanned receives each scan as soon as it is recorded, on the Team plan.
How do I verify that a webhook came from QRelix?
Check the X-QRelix-Signature header. It carries a timestamp and an HMAC of the body made with your endpoint's secret, so you can recompute and compare it.
What happens if my webhook endpoint is down?
QRelix retries the delivery, up to 6 attempts in all, and switches the endpoint off after 10 failed deliveries in a row.

Your first free dynamic QR code is a minute away

Free for everyday use, with no credit card. Edit the destination any time and watch the scans come in.