Render the QR artifact (PNG / SVG / PDF)
Renders the code's QR artifact. The QR always encodes the stable short URL, never the destination. PNG output is decode-verified before return; when the code has a design template, the branded render is rasterised and re-decoded, and the logo is scaled back or dropped if it hurts scannability. The X-QRTap-QA response header reports the outcome: branded (logo at requested size), downgraded (logo shrunk/dropped to keep the code scannable) or plain (no template). Captions are drawn into SVG output only. Caption text is screened against Kyrgyz advertising law (Article 17, Law No. 121 'On advertising'): promo wording (discounts, bonuses, gifts, promo codes) is refused with 422 before any render.
Request
- Base URL: https://app.qrtap.kg
- URL: https://app.qrtap.kg/api/v1/codes/{id}/qr
- Auth: HTTP bearer
Path parameters
Code id (UUID) as returned at creation.
Query parameters
png — raster for sharing/screens (decode-verified); svg — true vector, styled when the code has a design template; pdf — single-page vector for print shops.
PNG pixel width (ignored for svg/pdf). ~1080 for social sharing, ~2000 for print.
Short label drawn under the code (SVG output). Screened for prohibited promo wording (422 on match).
QR error-correction level for plain (non-templated) renders.
Response
The rendered artifact. Cache-Control: public, max-age=86400.
Changes
No recorded changes to this operation across all 1 revision of this API.