Retrieve QR code
Generates a PNG image of a QR code for the given URL. Accepts both anonymous and Bearer-authenticated callers; anonymous responses encode a lora-links.com redirect URL, authenticated responses encode the destination verbatim and may use hideLogo on Basic / Business / Enterprise plans.
Documentation Index
Fetch the complete documentation index at: https://uselora.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The URL to generate a QR code for. Anonymous calls encode this destination behind a lora-links.com redirect (so Lora can layer analytics and abuse-blocking on the public flow); authenticated calls (Bearer API key) encode it verbatim.
32000The size of the QR code in pixels (64-2048). Defaults to 600 if not provided.
The level of error correction to use for the QR code. Defaults to L if not provided.
L, M, Q, H The foreground color of the QR code in hex format. Defaults to #000000 if not provided.
The background color of the QR code in hex format. Defaults to #ffffff if not provided.
Whether to hide the Lora logo overlay in the QR code. Requires an authenticated request (Authorization: Bearer …) with an API key on a Basic, Business, or Enterprise plan. Anonymous calls and keys without the removeWatermark capability receive 403 plan_requires_upgrade.
The size of the margin around the QR code in modules (0-20). Defaults to 2 if not provided.
Response
The QR code as PNG bytes.
The response is of type file.