About this endpoint
What it does
Renders the provided text or URL as a QR code PNG image and returns the generated file as binary data.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Text or URL to encode in the QR code. |
| size | Integer | No | QR code size. Default: 10. Minimum: 1. Maximum: 40. |
Response
Returns a binary response containing the generated QR code PNG image.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | PNG image data returned as a binary payload. |