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.
import { Eventlayer } from "eventlayer";
const eventlayer = new Eventlayer();
const { data: pass, error } = await eventlayer.tickets
.generateAppleWalletPassSignedUrl({ ticketId: ticket.id });
if (error) throw error;3. Show the download link
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.