Set up credentials
Store your API key as an n8n credential so you don’t repeat it across nodes.1
Create a Header Auth credential
In n8n, go to Credentials → Add credential and select Header Auth.
2
Use it in HTTP Request nodes
In each HTTP Request node, set Authentication to Predefined Credential Type → Header Auth and select the credential you created.
Common operations
Upsert a pass
Creates or updates a pass for a given template and pass ID. HTTP Request node settings:
Example body:
appleUrl, googleUrl, and webUrl — use these to send the pass to your user.
Get a pass
Send a notification
Pushes an update notification to a pass already in a user’s wallet.
Example body:
List passes for a template
Supports
limit, pageToken, sortBy, and sortOrder query parameters.
Example workflows
Issue a pass from a webhook
Issue a pass from a webhook
- Webhook node — receives customer data (name, email, ID)
- HTTP Request node —
POST /v1/pass/{templateId}/{customerId}to upsert the pass - Send Email / Slack node — deliver the
appleUrlorgoogleUrlfrom the response
Sync a CRM contact to a loyalty pass
Sync a CRM contact to a loyalty pass
- CRM trigger (HubSpot, Salesforce, etc.) — contact updated
- HTTP Request node — upsert pass with updated points/fields
- HTTP Request node —
POST /notifyto alert the user their pass has changed
Void passes on a schedule
Void passes on a schedule
- Schedule trigger — runs daily
- HTTP Request node —
GET /v1/pass/{templateId}/passesto fetch active passes - IF node — filter passes past their expiry date
- HTTP Request node — upsert with
"voided": true

