Get URIs to resources for a pass

GET Request
Endpoint URL

Purpose
If the given pass UID is known the direct URIs to the actual resources for Android and iOS are returned.
We suggest always using the pass download pages or integrations that Passcreator offers but this allows you to build your own, completely customized way of delivering passes. Keep in mind that you need to do the device and browser recognition on your own if you go that route.

Required input parameters

  • HTTP Authorization Header that contains your API key
  • UID of the pass you want the URLs for

Returned values

JSON-Array containing an array for the pass that has been found. The array contains these fields:
  • iPhoneUri – the URL that returns the actual pkpass file
  • AndroidUri – depending on your template this is either a URL that triggers the save dialog of Google Pay or a deeplink that opens the pass in PassWallet.
Example output:
{
    "iPhoneUri": "https:/veski.leikbreytir.is/passinstance/pkpass?
    passInstance%5B__identity%5D=712b34b6-c56a-4a84-a08d-3500237eef08",
    "AndroidUri": "https://veski.leikbreytir.is.page.link/?apn=com.attidomobile
    .passwallet&link=https%3A%2F%2Fapp.passcreator.com%2Fpassinstance%2Fpkpass
    %3FpassInstance%255B__identity%255D%3D712b34b6-c56a-4a84-a08d-3500237eef08"
}