Skip to content
Pixmato
Esc
↑↓navigate↵open⌘Jpreview
On this page

QR Code Renders

Generate tickets, certificates, coupons, and menus with dynamic QR codes.

QR layers are designed for automation. Add a QR layer in the editor, expose it to the API, then pass a different URL or text value for every render.

Common use cases:

  • Event tickets with unique check-in links.
  • Certificates with verification URLs.
  • Coupons with one-time redemption links.
  • Restaurant promos that open a menu or reservation page.
  • Badges and passes with internal lookup IDs.

Create the template

In the editor:

  1. Add a QR Code layer.
  2. Name the parameter for the business field, such as check_in_url, verification_url, or menu_url.
  3. Keep the default QR value realistic so previews are useful.
  4. Try multiple QR destinations in the template playground.

Keep QR values short. A short URL creates a cleaner code that scans more reliably at smaller sizes.

Single render

Replace YOUR_TEMPLATE_ID with your template ID. The parameter names below assume the template exposes attendee_name, event_meta, and check_in_url.

curl -X POST "https://api.pixmato.com/v1/renders" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "YOUR_TEMPLATE_ID",
    "modifications": {
      "attendee_name": "Daniel Kim",
      "event_meta": "November 20, 2026 · Hall B · Seat A12",
      "check_in_url": "https://example.com/checkin/growth-summit/daniel-kim"
    },
    "output": {
      "format": "png",
      "scale": 2
    }
  }'

Styling QR codes

Use dot notation when you need to adjust QR appearance from code.

{
  "check_in_url.qr": "https://example.com/checkin/ticket_123",
  "check_in_url.foregroundColor": "#151426",
  "check_in_url.backgroundColor": "#ffffff",
  "check_in_url.errorCorrection": "medium",
  "check_in_url.margin": 2
}

Use high contrast foreground and background colors. Avoid transparent backgrounds unless the QR code sits on a very stable light surface.

Was this page helpful?