Developer Reference & REST APIs

Alpha QR Developer Documentation

The Alpha QR platform exposes clean, RESTful JSON endpoints. Integrate dynamic QR code generation, scan webhooks, and analytics into your external systems.

Standard Authentication Headers:

Endpoints requiring user session authentication validate your active NextAuth cookie or API token. JSON responses include strict status payloads and ISO timestamps.

Dynamic QR Engine Endpoints

Create, list, update, redirect, scan-track and reclaim dynamic QR codes.

MethodEndpoint RouteAuth
POST/api/qr/createUser Session
GET/api/qr/listUser Session
GET/api/qr/[id]Public
PUT/api/qr/[id]User Session
DELETE/api/qr/[id]User Session
GET/api/qr/[id]/detailsUser Session
GET/api/qr/[id]/scanPublic
POST/api/qr/[id]/transferUser Session
POST/api/qr/reclaimUser Session

Scan Telemetry & Analytics

Real-time edge scan analytics, device distribution, and daily counts.

MethodEndpoint RouteAuth
GET/api/analytics/[id]User Session

Comments & Social Interaction

Visitor feedback and interactive engagement collected on scan landing cards.

MethodEndpoint RouteAuth
GET/api/commentsUser Session
POST/api/commentsUser Session
PATCH/api/comments/[id]User Session
DELETE/api/comments/[id]User Session

Billing & Razorpay Webhooks

1-time UPI order generation, client signature verification, and automated webhooks.

MethodEndpoint RouteAuth
POST/api/payment/create-orderUser Session
POST/api/payment/verifyUser Session
POST/api/payment/verify-redirectUser Session
POST/api/webhook/razorpayPublic

Ownership Transfers

Secure QR code ownership transfer protocol with 10-digit authorization keys.

MethodEndpoint RouteAuth
POST/api/transfer/requestUser Session
POST/api/transfer/acceptUser Session
POST/api/transfer/rejectUser Session
GET/api/transfer/historyUser Session

User Profile & Assets

Account preferences, high-res logo uploads, and GDPR/DPDP purge endpoints.

MethodEndpoint RouteAuth
GET/api/user/meUser Session
DELETE/api/user/meUser Session
POST/api/upload/logoUser Session
GET/api/waitlistPublic
POST/api/waitlistPublic