About this endpoint
What it does
Generates a branded QR code image from the provided content, with optional center logo overlay and color controls for the QR code foreground and background. The response is a binary image.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | URL or text to encode. |
| logo | String | No | Optional logo image for center overlay. |
| size | Integer | No | Output size in pixels. Default: 768; minimum: 256; maximum: 2048. |
| background | String | No | Background color. Default: #ffffff. |
| foreground | String | No | Foreground color. Default: #111111. |
Response
Returns a binary value representing the generated QR code image. The output schema is a single binary payload with no JSON wrapper or named fields.