Integrate the Developer API and webhooks safely
Automate QR and scan processes with minimum scopes, idempotency, and verified signatures.
- Roles
- Owner, Admin
- Plans
- Pro
- Product surfaces
- /settings/developer · /api/v1/qr-codes · /api/v1/scans
Purpose
When the Developer API module is enabled, Pro can provide a versioned REST API for QR codes and privacy-reduced scans plus durable webhooks for QR_CREATED, QR_UPDATED, and SCAN_PROCESSED. Without visible enablement, this capability is not operational.
Prerequisites
- Active Pro and owner/admin role.
- A secure secret store and public HTTPS webhook URL.
- Knowledge of the OpenAPI contract, rate limits, and idempotency rules.
Step by step
- 1
Create a minimum-scope key
Select only QR_READ, QR_WRITE, and/or ANALYTICS_READ based on real need.
Expected result: The token has no unnecessary access.
- 2
Store the secret once
Copy the full key directly to a secret store and close the display.
Expected result: No plaintext token remains in notes or tickets.
- 3
Build robust requests
Send Bearer auth, bounded bodies, and a unique Idempotency-Key for mutations.
Expected result: Retries do not create uncontrolled duplicates.
- 4
Verify webhooks
Check timestamp, exact body bytes, HMAC signature, and delivery ID before processing.
Expected result: Tampered or repeated deliveries are handled safely.
Important details
Limits
Pro allows up to ten active API keys and ten webhooks. Requests are rate limited before and after authentication.
Webhook delivery
Only 2xx succeeds. Failures retry with backoff and become terminal after eight attempts; receivers must handle at-least-once delivery idempotently.
Rotation and revoke
Full secrets cannot be retrieved later. Rotate after loss, migrate consumers deliberately, and revoke old access.
What it looks like in the product
When something goes wrong
Problem: The API returns 401 or 403.
Likely cause: Token, expiry, scope, Pro state, or workspace context is invalid.
Safe solution: Check prefix, expiry, required scope, and effective plan without logging the token.
Problem: Webhook signature does not match.
Likely cause: The body changed before verification or timestamp/secret is wrong.
Safe solution: Verify exact raw bytes before JSON parsing and confirm the active signing secret.
Mobile use
Do not create or copy secrets on phones. Status review is possible, while integration and rotation belong in controlled desktop and secret-store environments.
Accessibility
Scopes and events are written out. One-time secrets use a clear warning, copy action, and focusable confirmation.
Security & privacy
Never store tokens in URLs, client code, screenshots, or logs. Webhook targets require public HTTPS; private and reserved networks are blocked.
