Render a QR code image
Render the QR code’s public scan URL as an image. The format query param selects the representation and overrides the Accept header; when omitted, Accept decides (image/svg+xml, image/png, application/pdf, application/json), defaulting to SVG.
Responses by format:
svg→200 image/svg+xml(SVG string)png→200 image/png(PNG bytes)pdf→200 application/pdf(single-page PDF)json→200 application/json(theqr_code_imageenvelope, with a base64 PNGdata_url)
The encoded URL is stable per slug and independent of the scan destination, so responses carry a strong ETag, Cache-Control: public, max-age=31536000, immutable, and Vary: Accept; send If-None-Match to get a 304.
Authorizations
Send your API key as Authorization: Bearer aw_live_…. Manage keys in the dashboard under Settings → API Keys.
Path Parameters
A QR code's UUID or its public slug.
Query Parameters
Output format. Overrides the Accept header. Defaults to svg (or the negotiated Accept type).
svg, png, pdf, json Raster width in px (png). Nominal box for svg/pdf. 64–2000, default 512.
64 <= x <= 2000Quiet-zone width in modules. 0–20, default 4.
0 <= x <= 20Error-correction level. Default M.
L, M, Q, H Foreground color. Default #000000.
^#[0-9a-fA-F]{6}$Background color. Default #ffffff.
^#[0-9a-fA-F]{6}$Response
Rendered QR code. Media type depends on the requested format: image/svg+xml, image/png, or application/pdf for binary formats, or application/json (the qr_code_image schema) for format=json.
"qr_code_image"svg, png, pdf, json -9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991L, M, Q, H The public scan URL encoded in the QR.
data:image/png;base64,… URL of the rendered QR.

