Docs

Automation platforms

Zapier, Make and n8n talk to QRChannels with an API key. Triggers arrive as signed webhooks the moment something happens; actions use the same REST API as everything else.

Authentication

Create a key under Settings → API keys with the scopes the app needs (hooks:write and events:read for triggers, plus the action scopes below). Send it on every request:

Authorization: Bearer qrc_live_…

An OAuth 2.0 sign-in for third-party apps is planned; API keys are the supported method today.

Triggers (REST hooks)

When a user turns a Zap or scenario on, the app subscribes; when they turn it off, it unsubscribes.

POST https://qrchannels.io/api/public/v1/hooks
{ "target_url": "https://hooks.zapier.com/hooks/catch/…",
  "event_types": ["scan.allowed"],
  "filter": { "channel_ids": ["6a2f4a82-…"] } }

→ 201 { "id": "…", "signing_secret": "…", "event_types": ["scan.allowed"], … }

DELETE https://qrchannels.io/api/public/v1/hooks/{id}   → 204

Each delivery is a CloudEvents 1.0 JSON body, signed like every webhook (X-QRC-Signature, see Events). Failed deliveries are retried for 24 hours, in order. target_url must be public HTTPS.

Screenshot: Zapier trigger setup with event type picker

Sample data for field mapping

GET https://qrchannels.io/api/public/v1/events/sample?type=scan.allowed
→ { "source": "recent" | "example", "data": [ …up to 3 CloudEvents… ] }

Returns the three newest real events of that type, or the documented example when there are none yet.

Polling fallback

GET https://qrchannels.io/api/public/v1/events?after={last_event_id}&limit=100

Events come in a stable order (by sequence). Use the event id as the dedupe key and pass the last one back as after.

Actions

ActionEndpointScope
Create one-time linkPOST /linkslinks:create
Set channel statusPATCH /channels/{id}channels:write
Fire triggerPOST /triggers/{id}/firetriggers:write
Upsert scannerPOST /scannersscanners:write
Replace access list entriesPUT /access-lists/{id}/entriesaccess_lists:write

Bodies and responses are in the API reference. POST requests accept an Idempotency-Key header so a retried step never acts twice.

Screenshot: Make scenario with a QRChannels action module