curl --request GET \
--url https://api.passentry.com/api/v1/passes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7447",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7447",
"passType": "generic",
"createdAt": "2022-01-08T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3267",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7446",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7446",
"passType": "generic",
"createdAt": "2022-01-07T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3266",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7445",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7445",
"passType": "generic",
"createdAt": "2022-01-06T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3265",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7444",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7444",
"passType": "generic",
"createdAt": "2022-01-05T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3264",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7443",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7443",
"passType": "generic",
"createdAt": "2022-01-04T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3263",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
}
],
"meta": {
"totalCount": 8,
"resultsPerPage": 5,
"currentPage": 1,
"totalPages": 2
},
"links": {
"first": null,
"prev": null,
"next": "/api/v1/passes?page=2&perPage=5",
"last": "/api/v1/passes?page=2&perPage=5"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Record limiter per page. Default is 100
Filter passes by status. Accepts single status value.
issued, active, removed, deactivated Filter passes by multiple statuses. Use array notation: status[]=active&status[]=issued
issued, active, removed, deactivated Filter passes by device type
android, iphone Filter passes by group tag
Filter passes by multiple group tags. Use array notation: groupTags[]=tag1&groupTags[]=tag2
Filter passes by external ID prefix. Example: '123456' will match '123456' and '1234567890'. Case sensitive.
Filter passes by pass template UUID
Filter passes by pass template name. Must be URL encoded
Filter passes by event UUID
Filter passes by event name. Must be URL encoded
Returns passes created after given datetime. Format is ISO 8601
Returns passes created before given datetime. Format is ISO 8601. Can be combined with createdBefore parameter
Returns a partial response (Sparse fieldset) per record, instead of the whole record. Set one or many comma separated record attributes
If true, includes the pass design in the response
If true, includes the locations in the response if any are present
If true, includes the beacons in the response if any are present
Successful
Show child attributes
Auto-generated UUID of the pass
"e89b1330fc391ec89656f3c664318cff8805471e"
"pass"
Show child attributes
Unique download URL of the pass
Pass Type
generic, eventTicket, storeCard, transit android, iphone In ISO8601 format, UTC
Pass Status
issued, active, removed, deactivated Pass External ID
Tag used for grouping passes
Tag used for grouping passes
When pass has been added to wallet by the user. In ISO8601 format, UTC
When pass has been removed from wallet by the user. In ISO8601 format, UTC
When pass has been deactivated. In ISO8601 format, UTC
Pass will expire at this time. In ISO8601 format, UTC
UUID of corresponding pass template
Name of corresponding pass template
If present, the NFC message to be conveyed when the pass is tapped
If present, the barcode type and value
Show child attributes
Barcode enabled
Barcode type
qr, code128, aztec, pdf417 Barcode source
uuid, extId, custom Barcode value
"123abcd"
If true, display the barcode value as text on the pass
If present, the last push message sent to the pass
Show child attributes
The templateKey identifies a pass field in the template (using the template field ID). Its value must be an object with a required value string, and may optionally include a localisation object that maps locale codes to translated values.
{
"eventName": {
"value": "Summer Festival",
"localisation": {
"es": { "value": "Festival de Verano" },
"fr": { "value": "Festival d'Été" }
}
}
}Pass design values, present if pass template has been overridden for this pass, or if 'includePassDesign' query param is set to true
Show child attributes
Pass background color in hex format
"#EFEFEF"
Pass label color in hex format. Only valid for iphone passes
"#EFEFEF"
Pass text color in hex format. Only valid for iphone passes
"#EFEFEF"
URL of pass banner image
URL of pass logo image
Locations, present if 'includeLocations' query param is set to true
Show child attributes
Name of the location, used for display purposes only
"West Entrance"
Latitude of the location
51.54321132456805
Longitude of the location
-0.022901231803803924
Effective geofence radius of the location in meters. Maximum is 1000 for eventTicket passes, 100 for other pass types. Currently only available on Apple devices, due to Android device restrictions.
10 <= x <= 100090
Message to display when user enters geofence. Currently only available on Apple devices, due to Android device restrictions.
"Welcome! Enjoy the show!"
Geocoded address of the location. Used for display purposes only. This is calculated automatically from the latitude and longitude values
"Mick's Garage, Queens Yard, London, England, E9 5EN, United Kingdom"
Beacons, present if 'includeBeacons' query param is set to true
Show child attributes
Unique identifier of the beacon
"E2C56DB5-DFFB-48D2-B060-D0F5A71096E0"
Major Value, provides additional identification for a beacon
65535
Minor Value, provides additional identification for a beacon
8525
Message to display on lock screen when the user is in range of the beacon
"You're near my store"
Name of the beacon, used for display purposes only
"West Entrance"
Pass source, present if 'includePassDesign' query param is present, one of Apple/Google and current pass status is not 'active'.
Show child attributes
Show child attributes
Apple Wallet Pass Base64 string, to generate the pass, decode the string and save as a .pkpass file. Will prompt the user to download the pass to their Apple Wallet when opened on an iPhone.
Google Wallet Pass download URL. Will prompt the user to download the pass to their Google Wallet when opened on an Android device.
Show child attributes
Path to first page, null if currentPage is first page
Path to prev page, null if currentPage is first page
Path to next page, null if currentPage is last page
Path to last page, null if currentPage is last page
Was this page helpful?
curl --request GET \
--url https://api.passentry.com/api/v1/passes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7447",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7447",
"passType": "generic",
"createdAt": "2022-01-08T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3267",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7446",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7446",
"passType": "generic",
"createdAt": "2022-01-07T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3266",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7445",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7445",
"passType": "generic",
"createdAt": "2022-01-06T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3265",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7444",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7444",
"passType": "generic",
"createdAt": "2022-01-05T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3264",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
},
{
"id": "237f0526-b2aa-4dd1-884b-ed49abbd7443",
"type": "pass",
"attributes": {
"downloadUrl": "https://www.example.com?pass=237f0526-b2aa-4dd1-884b-ed49abbd7443",
"passType": "generic",
"createdAt": "2022-01-04T00:00:00Z",
"status": "issued",
"extId": "d994dfcf8b6d0b0a3263",
"passTemplateUuid": "2e2d7ee8c306e8f0223dbdc1",
"passTemplateName": "PassEntry Ticketing",
"nfc": null,
"barcode": {},
"passContent": {
"fullName": "John Johnson"
}
}
}
],
"meta": {
"totalCount": 8,
"resultsPerPage": 5,
"currentPage": 1,
"totalPages": 2
},
"links": {
"first": null,
"prev": null,
"next": "/api/v1/passes?page=2&perPage=5",
"last": "/api/v1/passes?page=2&perPage=5"
}
}