Skip to main content

Retrieve a QR code

GET 

/qr

Retrieve a QR code for a link.

Request

Query Parameters

    url stringrequired

    The URL to generate a QR code for. Defaults to https://zli.bz if not provided.

    size number

    The size of the QR code in pixels. Defaults to 600 if not provided.

    level string

    Possible values: [L, M, Q, H]

    The level of error correction to use for the QR code. Defaults to L if not provided.

    fgColor string

    The foreground color of the QR code in hex format. Defaults to #000000 if not provided.

    bgColor string

    The background color of the QR code in hex format. Defaults to #ffffff if not provided.

    includeMargin boolean

    Possible values: [true, false]

    Whether to include a margin around the QR code. Defaults to false if not provided.

Responses

The QR code

Schema

    string

Loading...