The QR code API.
Create and update codes with the same permissions and usage limits as the dashboard. Generate a scoped API key from an eligible workspace's API & integrations page.
API keys are shown once, stored as hashes, and expire after 90 days. Keep them on your server. This release supports production keys only; do not treat production requests as sandbox activity.
curl -X POST http://localhost:8080/api/v1/qr-codes \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"name":"Business card","type":"dynamic","destination_url":"https://example.com"}'| Method | Endpoint | Scope |
|---|---|---|
GET | /qr-codes | qr:read |
POST | /qr-codes | qr:write |
GET | /qr-codes/{id} | qr:read |
PATCH | /qr-codes/{id} | qr:write |
DELETE | /qr-codes/{id} | qr:write |
POST | /qr-codes/{id}/activate | qr:write |
POST | /qr-codes/{id}/deactivate | qr:write |
GET | /qr-codes/{id}/download | qr:read |
GET | /qr-codes/{id}/analytics | analytics:read |
GET | /analytics/overview | analytics:read |
GET | /account | qr:read |
GET | /limits | qr:read |
GET | /usage | qr:read |
Responses and errors
JSON responses contain success and data, or an error with a message and request ID. Lists return up to 20 codes; use ?page=2 and optional q search. Analytics accepts from and to as UTC YYYY-MM-DD dates.
401: invalid key. 403: missing scope, permission or allowance. 404: unavailable resource. 422: invalid input. 429: rate limit. 503: missing provider configuration. Honor the Retry-After header.