Image API · Ticket generator API

Generate a unique ticket for every attendee.

Design the ticket once, then send each attendee’s name, seat and booking code. Each render comes back with its own QR code or barcode, as an image for email and wallets or a PDF for print.

Opens a real an event pass with a QR code with sample data — edit a field and download the PDF. No account or card for the example. PixlDocs is free for 1 year.

Real output

  • Concert ticket rendered by the PixlDocs API

    Concert ticket

  • Train ticket rendered by the PixlDocs API

    Train ticket

  • Conference badge rendered by the PixlDocs API

    Conference badge

Rendered through the production pipeline from published templates with sample data.

The request

POST /v1/render

bash
curl -X POST https://api.pixldocs.com/v1/render \
  -H "Authorization: Bearer pxd_YOUR_KEY" \
  -H "Content-Type: application/json" \
  --output ticket.png \
  -d '{
    "template_id": "YOUR_TICKET_TEMPLATE_ID",
    "format": "png",
    "data": { "event": "Launch Night", "attendee": "Sam Lee", "seat": "B-14", "booking_code": "LN-88213" }
  }'

Replace pxd_YOUR_KEY with a key from your dashboard. The response body is the file.

QR codes and barcodes
Smart elements bound to your booking data.
Image or PDF
PNG/WebP for email, PDF for print.
Passes and badges too
Conference badges, press passes, vouchers.
Batch for a sold-out show
Batch renders with webhooks.

Questions

Does the QR code change per ticket?

Yes. Bind it to a field like booking_code and each render encodes that value.

Can I use my own ticket design?

Yes — design it in the visual editor or start from a library ticket.

Which sizes?

Any width and height from 16 to 8000 px, or the size saved on the template.

Is it free?

Yes. PixlDocs is free for 1 year from 3 October 2026 while we work with early users. You can try a real example with no account; a free account starts with 100 credits, and you can ask us for more free credits when you run out.

Try it on sample data, then bring your own document.

Start with the free example. If your document or data source is different, send us one sample and tell us where the data lives — we set up the first template with you, free. Business and enterprise teams can contact us separately.