POST
/
api
/
v1
/
passes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

passTemplate
string
required

Identifies the pass template to use

extId
string

External ID used to identify the pass. Optional

includePassDesign
boolean

If true, includes the pass design in the response

includeLocations
boolean

If true, includes the locations in the response if any are present

includeBeacons
boolean

If true, includes the beacons in the response if any are present

includePassSource
enum<string>

Used when delivering the pass directly to the passholder, without using PassEntry's download page. Choose one of Apple/Google, includes the pass source in the response. The passSource object is only included if the pass is not currently 'active'

Available options:
apple,
google

Body

application/json
beacons
object[]

Array of beacons, currently only available on Apple devices, due to Android device restrictions. Maximum of 10 beacons

groupTag
string

Tag used for grouping passes

locations
object[]

Array of locations, currently only available on Apple devices, due to Android device restrictions. Maximum of 10 locations

message
string

Push Notification message to display. If present, response will include X-Notification-Status header

pass
object
passAction
enum<string>

Only available when updating the pass.

Available options:
deactivate,
reactivate

Response

200 - application/json
data
object

Was this page helpful?