Google Sheet Extension
PDF to Pass
Image to Pass
QR Code Generator
Barcode Generator
The List Dynamic Pass Templates API allows you to retrieve all dynamic pass templates associated with your account. This endpoint returns a list of templates with basic configuration information about each template. Each template represents a design and structure that can be used to generate multiple personalized passes for customers in associated user groups.
Each template is linked to a user group that holds the customers with passes from it. Use the dynamicPassId returned here to match a template to its group.
All API requests must include your API key in the request headers:
"apikey": "your-api-key-here"
This is a simple GET request that requires no parameters or request body. It returns all templates associated with your account.
GET /api/dynamicPass/templates apikey: your-api-key-here
The API returns a JSON array containing template objects with their complete configuration:
Each template object has the same fields as a single template returned by Get Template (cardTitle, header, textModulesData, linksModuleData, barcodeType, hexBackgroundColor, heroImage, etc.) — see that page for the full field reference. Any string value may contain dynamic placeholders that are filled with each customer's data when passes are generated.
[
{
"template": {
"cardType": "Dynamic Card",
"cardSubType": "dynamic_loyalty_stamp_card",
"passType": "generic",
"genericType": "GENERIC_TYPE_UNSPECIFIED",
"cardTitle": "Cafe Muse",
"header": "FREE COFFEE",
"subheader": "REWARD ON 5TH VISIT",
"textModulesData": [
{
"id": "r1start",
"header": "Name",
"body": "{{full_name}}"
},
{
"id": "r1end",
"header": "Member ID",
"body": "{{c_id}}"
}
],
"barcodeType": "QR_CODE",
"hexBackgroundColor": "#45290d",
"appleFontColor": "#ffffff",
"heroImage": "https://s3.amazonaws.com/i.addtowallet.co/addtowallet-7de8b055-2490-49f7-a3ce-2ef4cd6035a2",
"logoUrl": "https://s3.amazonaws.com/i.addtowallet.co/addtowallet-7d9d988b-0e87-4481-8e1d-5d2d022fb6a6"
},
"dynamicPassId": "685e9888cc33237826b720f8"
},
{
"template": {
"cardType": "Business Card",
"passType": "generic",
"genericType": "GENERIC_TYPE_UNSPECIFIED",
"logoUrl": "https://s3.amazonaws.com/i.addtowallet.co/assets/realestatelogo.png",
"cardTitle": "{org}",
"header": "{name}",
"textModulesData": [
{
"id": "r1start",
"header": "Phone",
"body": "+1 8888888888"
},
{
"id": "r1end",
"header": "Email",
"body": "{email}"
}
],
"linksModuleData": [
{
"id": "r1",
"description": "Call Us",
"uri": "tel:+1 8287489293"
},
{
"id": "r2",
"description": "Email Us",
"uri": "mailto:[email protected]"
}
],
"barcodeType": "QR_CODE",
"hexBackgroundColor": "#141f31",
"appleFontColor": "#FFFFFF",
"heroImage": "https://s3.amazonaws.com/i.addtowallet.co/assets/realestatehero.png",
"stateType": "ACTIVE"
},
"dynamicPassId": "68654e70efe914f4fefe6371"
}
]Pick a template's dynamicPassId, then issue passes by adding customers to its group via Add User, or change the design with Update Template.
| Error Code | Description |
|---|---|
| 401 | UNAUTHORIZED - Valid API key required |
| 500 | SERVER_ERROR - Database error or unexpected server issue |