Register a device to receive push notifications

POST /wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}

Path parameters

  • deviceLibraryIdentifier string Required

    The device library identifier

  • passTypeIdentifier string Required

    The pass type identifier

  • serialNumber string Required

    The serial number of the pass

application/json

Body

  • pushToken string Required

    The push token for the device

Responses

  • 200

    Sucessfully registered the device

  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

POST /wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}
curl \
 --request POST 'https://domain.tld/api/v2/wallet/apple-web-service/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"pushToken":"string"}'
Request examples
{
  "pushToken": "string"
}
Response examples (401)
{
  "message": "Unauthorized."
}