Generate QR codes as PNG or SVG. Custom size, colors, margins, and error correction levels.
POST https://api.16761.tech/qr
curl -X POST https://api.16761.tech/qr \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"https://16761.tech","size":400}'
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | โ | Content to encode (max 4000 chars) |
| size | int | Image size in pixels (max 2000) | |
| format | string | png or svg | |
| margin | int | Quiet zone margin | |
| darkColor | string | Foreground hex color | |
| lightColor | string | Background hex color | |
| errorCorrection | string | L, M, Q, or H |