Contents

Register a Pass for Update Notifications

Set up change notifications for a pass on a device.

URL

POST https://yourpasshost.example.com/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}

Path Parameters

NameTypeDescription
deviceLibraryIdentifier Requiredstring

A unique identifier you use to identify and authenticate the device.

passTypeIdentifier Requiredstring

The pass type identifier of the pass to register for update notifications. This value corresponds to the value of the passTypeIdentifier key of the pass.

serialNumber Requiredstring

The serial number of the pass to register. This value corresponds to the serialNumber key of the pass.

Header Parameters

NameTypeDescription
Authorization Optionalstring

The authentication for a pass. The value is the word ApplePass, followed by a space, followed by the authenticationToken key of the pass.

Response Codes

StatusReasonTypeDescription
200Serial Number Already Registered for Device

The serial number is already registered for the device.

201Registration Successful

The registration is successful.

401Request Not Authorized

The request isn’t authorized.

HTTP Body

An object that contains the push notification token for the registered pass on the device.

See Also

Pass updates