HoplaDocs

QR code

Generate the QR code of a page, as SVG or PNG.

curl "https://app.hopla.page/api/v2/qr-code?format=png&size=1200" \
  -H "Authorization: Bearer $HOPLA_API_KEY" -o qr-hopla.png
ParameterValues
formatsvg (default), scalable without quality loss for print, or png
sizeSize in pixels, from 120 to 2000; default 720

The QR code points to the public page URL (the custom domain, if any), followed by ?s=qr: scans are counted separately, as the "QR code" source, in analytics.

The MCP server returns it as an image (get_qr_code).