(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.data-privacy-src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-P2BC6Q6N');

Help Center

View Categories

Common APIs

84 min read

GetPassTemplates #

The GetPassTemplates API will fetch the list of the Pass Templates present under the account identified by the api-key. This API fetches the data in a paginated way. Users can provide the page number and data needed per page required and API will send the required data.

 

Params/Variables Format Description
action Mandatory, Alphabetic (a-zA-Z) This is the name of the function you want to execute with the API.
x-api-key Mandatory, Alphanumeric (a-zA-Z0-9), Case-Sensitive.
This is set in the request header param.
This is a random key that is assigned to an account and can be used for authorization. You can find and regenerate this key on the ‘API Settings’ page.
page-number Optional, Numeric Users can provide the page number using this parameter and the user will receive data from this page number.
items-per-page Optional, Numeric (Default is 100) Users can provide the count of data required per page and the API will send that amount of data in response.

Response Success Example:

Copy to Clipboard

Response Failure Example:

Copy to Clipboard

Required Parameters:

action, x-api-key, pass-template-id, zip code

Request:

Copy to Clipboard

Request Example:

Copy to Clipboard

Response Success Example:

Copy to Clipboard

Response Failure Example:

Copy to Clipboard

GeneratePassById #

The generate pass by id API will generate a unique installation link based on the unique ‘pass-id’. If you try to call this API with an invalid ‘pass-id’ or a ‘pass-id’ that is not associated with the pass that you are trying to generate, you will receive an error message. To call this API again successfully, you will need to use a valid ‘pass-id’. The required parameters are action, api-key, pass-id, and pass-template-id.

Request:

Copy to Clipboard

Request Example:

Copy to Clipboard

Request Example:

Copy to Clipboard

 Response Success Example:

Copy to Clipboard

 Response Failure Example:

Copy to Clipboard

DeletePassData #

#

The delete pass data API is used to remove data for a Pass that has already been installed on a device. Using this API will only delete the pass data associated with the ‘pass-id’ from our system. This does not remove or uninstall the Pass from the device. If you receive a failure message, the Pass data has not been deleted. The required params are action, api-key, pass-id, and pass-template-id .

#

Request:

Copy to Clipboard

Request Example:

Copy to Clipboard

 Response Success Example:

Copy to Clipboard

Response Failure Example:

Copy to Clipboard

GetPassIds #

 The GetPassIds API will fetch a list of passes, generated for a given Pass Template under the user account identified by the api-key. This API fetches the data in a paginated way. Users can provide the page number and data needed per page required and API will send the required data.

#

#

#

Params/Variables Format Description
action Mandatory, Alphabetic (a-zA-Z) This is the name of the function you want to execute with the API.
x-api-key Mandatory, Alphanumeric (a-zA-Z0-9), Case-Sensitive.
This is set in the request header param.
This is a random key that is assigned to an account and can be used for authorization. You can find and regenerate this key on the ‘API Settings’ page.
pass-template-id Mandatory, Alphanumeric (a-zA-Z0-9), Case-Sensitive This is the unique Pass Template ID used to reference a particular Pass Template.
page-number Optional, Numeric Users can provide the page number using this parameter and the user will receive data from this page number.
items-per-page Optional, Numeric (Default is 100) Users can provide the count of data required per page and the API will send that amount of data in response.

#

 Request:

Copy to Clipboard

 Request Example:

Copy to Clipboard

 Response Success Example:

Copy to Clipboard

Response Failure Example:

Copy to Clipboard
Go to Top