API Reference

Build with the Qraft API.

The Qraft API lets you create, manage and analyse QR codes programmatically. This lightweight reference covers the essentials.

Authentication

Authenticate requests with an API key sent in the Authorization: Bearer <token> header. Full key management is coming to the dashboard.

Create a QR code

POST /api/qrcodes

Pass a type and the relevant payload (e.g. url for a website code). Returns the generated code with its id and download URL.

Analytics

Query scan data for dynamic codes via the dashboard's analytics views. See per-code totals, unique scanners, geographic and device breakdowns.

Full interactive documentation is in development. Questions? Get in touch.