Build a flow

Eventlayer / Build a flow

Add Apple Wallet tickets

Generate a Wallet pass for an assigned ticket.

Add an Apple Wallet download to your ticket page.

1. Create a template

In Dashboard → Passes, design a template and attach it to your event. A ticket type can override the event’s template.

See template options for fields and imagery.

2. Generate the pass URL

Use an assigned ticket from the quickstart. Run this on your backend after checking the attendee can access the ticket.

Wallet download · server
import { Eventlayer } from "eventlayer";

const eventlayer = new Eventlayer();
const { data: pass, error } = await eventlayer.tickets
  .generateAppleWalletPassSignedUrl({ ticketId: ticket.id });

if (error) throw error;

Pass the URL to your ticket page.

<a href={pass.url}>Add to Apple Wallet</a>

The URL is private and expires after 24 hours. Generate a fresh one when the attendee requests it. For emails, link to your ticket page instead.

Adding a pass keeps the same ticket. It does not check the attendee in.

Next steps

Build a check-in app.