Pass Templates
Show Pass Template (Deprecated)
Pass Templates
Show Pass Template (Deprecated)
Retrieve a Pass Template by ID (This endpoint is deprecated)
GET
/
api
/
v1
/
pass_templates
/
{pass_template_uuid}
curl --request GET \
--url https://api.passentry.com/api/v1/pass_templates/{pass_template_uuid} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "f0af94dc3c69a80cee32c173",
"type": "passTemplate",
"attributes": {
"backgroundColor": "#EFEFEF",
"name": "Summer Sale 2023",
"description": "Summer Sale Pass",
"labelColor": "#FF8477",
"textColor": "#29323A",
"templateType": "storeCard",
"header": {
"header_one": {
"id": "name",
"label": "Name",
"default_value": null
},
"header_two": {
"id": null,
"label": null,
"default_value": null
},
"header_three": {
"id": null,
"label": null,
"default_value": null
}
},
"primary": {
"primary_one": {
"id": "attendee",
"label": "Attendee",
"default_value": null
},
"primary_two": {
"id": null,
"label": null,
"default_value": null
}
},
"secondary": {
"secOne": {
"id": "address",
"label": "Address",
"default_value": null
},
"secTwo": {
"id": null,
"label": null,
"default_value": null
},
"secThree": {
"id": null,
"label": null,
"default_value": null
}
},
"auxiliary": {
"auxOne": {
"id": "dob",
"label": "DOB",
"default_value": null
},
"auxTwo": {
"id": null,
"label": null,
"default_value": null
},
"auxThree": {
"id": null,
"label": null,
"default_value": null
}
},
"backFields": {
"backOne": {
"id": "website",
"label": "Website",
"default_value": null
},
"backTwo": {
"id": null,
"label": null,
"default_value": null
},
"backFive": {
"id": null,
"label": null,
"default_value": null
},
"backFour": {
"id": null,
"label": null,
"default_value": null
},
"backThree": {
"id": null,
"label": null,
"default_value": null
}
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
pass_template_uuid
Response
200
application/json
successful
Auto-generated UUID of the pass template
Example:
"1fed3fbb1a8bec4ed1bddf38"
Example:
"passTemplate"
Must be a valid hex color code
Example:
"#EFEFEF"
Name of the pass template, set on creation. Not displayed on the pass
Example:
"Summer Sale 2023"
Pass description, displayed on the pass
Example:
"Summer Sale Pass"
Must be a valid hex color code. Only valid for iphone passes
Example:
"#FF8477"
Must be a valid hex color code. Only valid for iphone passes
Example:
"#29323A"
Passes created from this template will be of this type
Available options:
generic
, eventTicket
, storeCard
Pass Header Label
Pass Back Field default values
Was this page helpful?
curl --request GET \
--url https://api.passentry.com/api/v1/pass_templates/{pass_template_uuid} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "f0af94dc3c69a80cee32c173",
"type": "passTemplate",
"attributes": {
"backgroundColor": "#EFEFEF",
"name": "Summer Sale 2023",
"description": "Summer Sale Pass",
"labelColor": "#FF8477",
"textColor": "#29323A",
"templateType": "storeCard",
"header": {
"header_one": {
"id": "name",
"label": "Name",
"default_value": null
},
"header_two": {
"id": null,
"label": null,
"default_value": null
},
"header_three": {
"id": null,
"label": null,
"default_value": null
}
},
"primary": {
"primary_one": {
"id": "attendee",
"label": "Attendee",
"default_value": null
},
"primary_two": {
"id": null,
"label": null,
"default_value": null
}
},
"secondary": {
"secOne": {
"id": "address",
"label": "Address",
"default_value": null
},
"secTwo": {
"id": null,
"label": null,
"default_value": null
},
"secThree": {
"id": null,
"label": null,
"default_value": null
}
},
"auxiliary": {
"auxOne": {
"id": "dob",
"label": "DOB",
"default_value": null
},
"auxTwo": {
"id": null,
"label": null,
"default_value": null
},
"auxThree": {
"id": null,
"label": null,
"default_value": null
}
},
"backFields": {
"backOne": {
"id": "website",
"label": "Website",
"default_value": null
},
"backTwo": {
"id": null,
"label": null,
"default_value": null
},
"backFive": {
"id": null,
"label": null,
"default_value": null
},
"backFour": {
"id": null,
"label": null,
"default_value": null
},
"backThree": {
"id": null,
"label": null,
"default_value": null
}
}
}
}
}