ppaperbrainTemplates
Sign inGet started
← All templates
Events & Recognition

Event Ticket

Print-at-home ticket — event details, gate/seat, attendee, QR stub, and terms.

The contract

Fields your API call provides. Amounts and totals are always computed by the caller — templates only format.

seat.gatestringrequired
seat.numberstringrequired
seat.sectionstringrequired
event.datestringrequired
event.namestringrequired
event.venuestringrequired
event.presenterstringrequired
event.doors_timestringrequired
termsstringrequired
attendee.namestringrequired
qr_imagestringrequired
ticket_typestringrequired
ticket_numberstringrequired

MCP-ready: forks of this template will expose generate_event_ticket when the MCP server ships.

Generate it (after you fork & publish)

curl -X POST https://your-paperbrain-host/api/generate/gen_<your-id> \
  -H "Content-Type: application/json" \
  -d '{
    "seat": {
      "gate": "C",
      "number": "—",
      "section": "GA Floor"
    },
    "event": {
      "date": "2026-08-21",
      "name": "Harbor Lights Festival — Opening Night",
      "venue": "Pier 62 Pavilion",
      "presenter": "Meridian Live",
      "doors_time": "6:30 PM"
    },
    "terms": "Valid for one entry. Non-transferable. No re-entry after exit.",
    "attendee": {
      "name": "Sofia Almeida"
    },
    "qr_image": "data:image/png;base64,iVBORw0KGg… (image)",
    "ticket_type": "General admission",
    "ticket_number": "TKT-2026-118274"
  }'

gen_<your-id>is your generator's id once you fork and publish. The body shown is this template's sample data — the exact shape the contract validates.