QR Codes
Retrieve a QR code
Retrieve a QR code for a link.
GET
Authorizations
Default authentication mechanism
Query Parameters
The URL to generate a QR code for. Defaults to https://dub.co
if not provided.
The size of the QR code in pixels. Defaults to 600
if not provided.
The level of error correction to use for the QR code. Defaults to L
if not provided.
Available options:
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 include a margin around the QR code. Defaults to false
if not provided.
Response
200
image/png
The QR code
The response is of type string
.