https://api.passslot.com/v1/templates
GET https://api.passslot.com/v1/templates
[ { "id": 1, "name": "Member Card", "formatVersion": 1, "passType": "pass.example.id1", "description": { "barcode": { "message": "123456789", "format": "PKBarcodeFormatPDF417", "messageEncoding": "iso-8859-1" }, "logoText": "Megatron", "foregroundColor": "#ffffff", "backgroundColor": "rgb(60, 65, 76)", "generic": { "primaryFields": [ { "key": "member", "value": "\u0024{firstName} \u0024{lastName}" } ], "secondaryFields": [ { "key": "subtitle", "label": "MEMBER SINCE", "value": "\u0024{memberSince}" } ], "auxiliaryFields": [ { "key": "location", "label": "LOCATION", "value": "Zurich" }, { "key": "last", "label": "LAST AQUISITION", "value": "Retina iPad", "textAlignment": "PKTextAlignmentRight" } ] } }, "placeholder":["firstName","lastName","memberSince"] } ]
HTTP Method | GET |
API Version | 1 |
Requires Authentication? | Yes |
Response Format | JSON |
Response Object | Pass Templates |