Data
- Components
- Codes
- QR code
QR Code
type: "qr"4 styles · 11 propertiesGenerates a scannable QR code from any string — URLs, coupon codes, Wi-Fi payloads — with configurable colors, margin and error-correction level.
Updated




Try your own data
Change the QR code here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
4 styles
Pick one to preview itExamples
Each example is the same QR code with different values. The JSON is what you send.
Event ticket check-in code
A per-attendee check-in QR encoding the unique ticket URL.
{
"link.value": "https://imejis.io/e/TKT-84721?utm_source=ticket"
}Coupon redemption code
A personal discount code encoded as plain text for in-store scanning.
{
"link.value": "SAVE20-9F3K7Q",
"link.colorDark": "#111827"
}Good for
- Event tickets with a unique check-in QR per attendee
- Coupon images that encode a personal redemption code
- Print and packaging visuals linking to campaign landing pages
- Wi-Fi access cards for venues and rentals
New values, every render
Set '<key>.value' to encode a different URL or string in every render; module colors are overridable as well. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"link.value": "https://imejis.io/your-unique-code"
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"link.value": "https://imejis.io/your-unique-code"
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"link.value": "https://imejis.io/your-unique-code"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Properties
Every property works the same in the editor, in design JSON and as an API override.
11 properties shown
| Property | Type | Default | What it does |
|---|---|---|---|
| Data | |||
value | string | — | The string encoded into the QR code. |
| Look | |||
errorCorrectionLevel | 'L' | 'M' | 'Q' | 'H' | "M" | QR error-correction level (higher survives more damage). |
margin | number | 4 | Quiet-zone margin around the code in modules. |
colorDark | color | "#000000" | Color of the dark modules. |
colorLight | color | "#ffffff" | Color of the light modules (background). |
| Frame | |||
opacity | number | 1 | Overall component opacity from 0 (transparent) to 1 (opaque). |
borderWidth | number | 0 | Border thickness in pixels around the component. |
borderColor | color | "transparent" | Border color (any CSS color). |
borderStyle | 'solid' | 'dashed' | 'dotted' | 'double' | 'none' | "solid" | Border line style. |
borderRadius | number | 0 | Corner radius in pixels. |
boxShadow | string | — | CSS box-shadow applied to the component, e.g. "0 4px 6px rgba(0,0,0,0.1)". |
QR code questions
Can I generate a different QR code on each API call?
Yes — send '<key>.value' with any string per render: URLs, coupon codes, Wi-Fi payloads or plain text.
Can the QR code use my brand colors?
colorDark and colorLight control the module and background colors. Keep strong contrast between them so scanners still read the code reliably.
What error correction levels are supported?
Levels L, M, Q and H (default M). Level H survives up to 30% damage — use it when printing small or overlaying a logo on the code.
How do I keep the QR code scannable?
Keep the default quiet-zone margin of 4 modules, maintain contrast between colorDark and colorLight, and raise errorCorrectionLevel for small or decorated codes.
Where the QR code component fits
Free tools built on it, guides that use it, and the components that sit beside it.