Download a QR code's print-ready SVG
Returns the saved code rendered as a standalone SVG encoding https://<domain>/qr[/<slug>]. The image is vector (viewBox) — px only sets the default width attribute, so it prints crisply at any size. Requires a read-scoped key.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
Registered hostname, e.g. links.creator.com.
QR code id.
Query Parameters
Default render width in pixels (the SVG itself scales to any size).
64 <= value <= 40961024true adds a Content-Disposition attachment header (filename qr--<slug|main>.svg).
falseResponse Body
image/svg+xml
application/json
application/json
curl -X GET "https://example.com/api/admin/qr/string/0/image.svg""string"{ "detail": "auth required"}{ "detail": { "code": "qr_not_found", "message": "QR-код не найден" }}Delete a QR code
Deletes the QR code card. Media already printed keeps redirecting to the landing (never a 404) — its scans simply stop being labelled and counted. Requires a write-scoped key.
Get draft and published page state
Returns both the draft and currently-published snapshots for every domain you own, plus a dirty flag and the list of domains with unpublished edits. Requires a read-scoped key.