Skip to content
REST API Reference & SDKs

Passinstance Developer Documentation

Build high-volume Apple Wallet (.pkpass) and Google Wallet integrations. Issue, update, scan, and broadcast real-time lockscreen notifications via production-grade REST APIs.

Get API Keys
POSThttps://api.passinstance.com/api/v1/templates
Bearer

Create a pass template

Design and register a new reusable pass template with visual branding, barcode type, NFC configuration, and layout fields.

CreateTemplateDto configuration matching backend Swagger schema (/api/docs#/Templates/TemplateController_create).

Request Body6 required • 4 optional
namestring
Required

Template display name.

example: VIP Loyalty Card Template
descriptionstring
Required

Detailed description of the pass purpose and tier perks.

example: Exclusive loyalty and rewards card for VIP customers
organizationNamestring
Required

Organization / brand name printed on the card header.

example: Acme Rewards
kindstring (enum)
Required

storeCard, coupon, eventTicket, generic, boardingPass, or membership.

example: storeCard
statusstring (enum)
Required

ACTIVE, DRAFT, or ARCHIVED.

example: ACTIVE
preferredStyleSchemestring (enum)
Required

LIGHT or DARK.

example: DARK

Response Status Codes

201Created
ApiResponseDto<{ id: string }> returned upon template creation.
400Bad Request
DTO validation failure (missing required fields or invalid enum).
401Unauthorized
Missing or invalid Bearer authentication header.
GEThttps://api.passinstance.com/api/v1/templates
Bearer

List all templates

Retrieve a paginated list of pass templates belonging to the authenticated workspace customer context.

Query Parameters3 optional

Response Status Codes

200OK
Paginated list of templates.
GEThttps://api.passinstance.com/api/v1/templates/{id}
Bearer

Get template details

Retrieve full details of a pass template including colors, barcode settings, layout fields, and mechanic rules.

Path Parameters1 required
idUUID
Required

Unique template identifier.

example: tpl_8f2a1e0b-3c4d-4e5f-9a1b-2c3d4e5f6a7b

Response Status Codes

200OK
ApiResponseDto<Template> with complete layout and branding configuration.