v11

latestOpenAPI 3.1.12026-08-03174162.0 MB
QR Codes

Generate QR code image

Generate a customizable QR code as a PNG image with support for custom colors, sizes, error correction levels, and optional logo overlays.

get/qr

Query parameters

valuestring required
Example:https://session.services

The value to encode in the QR code

format'png' | 'svg'
Example:png

Output image format

sizeinteger
Example:600

Size of the output image in pixels

ecLevel'L' | 'M' | 'Q' | 'H'
Example:M

Error correction level (L=7%, M=15%, Q=25%, H=30%)

quietZoneinteger
Example:1

Quiet zone (margin) around QR code

bgColorstring
Example:#ffffff

Background color (hex format)

fgColorstring
Example:#000000

Foreground color (hex format)

logoImagestring uri
Example:https://assets.session.services/logo.png

URL of logo image to overlay on the QR code

logoWidthinteger
Example:300

Logo width in pixels

logoHeightinteger
Example:300

Logo height in pixels

logoOpacityinteger
Example:100

Logo opacity (0-100)

logoRemoveBgboolean

Add background behind logo to improve visibility

Response

Successfully generated QR code image