← Docs

Quickstart · 5 min

Issue your first pass in five minutes.

01

Create an API key

Sign up at passmint.com, head to Developers → API keys, and create a test key. It looks like pmk_test_….

02

Install the SDK

npm install @passmint/node
03

Pick a starter template

Pick one of the eight starters from the dashboard and customize it in the visual designer. Copy its template ID — it looks like tmpl_….

04

Issue a pass

import { Passmint } from "@passmint/node"

const passmint = new Passmint({
  apiKey: process.env.PASSMINT_API_KEY!,
})

const pass = await passmint.passes.create({
  templateId: "tmpl_xxx",
  holderEmail: "alice@example.com",
  holderName: "Alice Johnson",
  fieldValues: {
    seatNumber: "A12",
    section: "Floor",
  },
})

console.log(pass.url)
// → https://passmint.com/p/abc123def456
05

Send the URL

Drop pass.url into an email, SMS, or QR code. On iPhone, the user taps Add to Apple Wallet. Done.