Resource URL

https://api.passslot.com/v1/passes/:passTypeIdentifier/:serialNumber/passjson

Example Request

Request

GET https://api.passslot.com/v1/passes/pass.example.id1/27f145d2-5713-4a8d-af64-b269f95ade3b/passjson

Response

{
    "barcode": {
        "message": "123456789",
        "format": "PKBarcodeFormatPDF417",
        "messageEncoding": "iso-8859-1"
    },
    "logoText": "Megatron",
    "foregroundColor": "#ffffff",
    "backgroundColor": "rgb(60, 65, 76)",
    "generic": {
        "primaryFields": [
            {
                "key": "member",
                "value": "John Doe"
            }
        ],
        "secondaryFields": [
            {
                "key": "subtitle",
                "label": "MEMBER SINCE",
                "value": "2012"
            }
        ],
        "auxiliaryFields": [
            {
                "key": "location",
                "label": "LOCATION",
                "value": "Zurich"
            },
            {
                "key": "last",
                "label": "LAST AQUISITION",
                "value": "Retina iPad",
                "textAlignment": "PKTextAlignmentRight"
            }
        ],
    },
    "serialNumber": "27f145d2-5713-4a8d-af64-b269f95ade3b",
    "passTypeIdentifier": "pass.example.id1",
    "formatVersion": 1,
    "description": "",
    "organizationName": "Megatron Store",
    "teamIdentifier": "ABCDEFGHIJK",
    "authenticationToken": "282fbb91-2a7b-497e-bea3-cb8a8ea50d76",
    "webServiceURL": "https://apkws.passslot.com"
}

Resource Information

HTTP Method GET
API Version 1
Requires Authentication? Yes
Response Format JSON
Response Object Pass