Skip to main content

Registration Service

Suggest edit Updated on November 16, 2021

The registration service is a REST service that supports the POST HTTP method. The URL for this service is:

http://<host>:<port>/prweb/PRRestService/PushNotification/Registration/Register

For the request, this service expects a JSON object having the following structure:

{
    "AppVariantID":"<AppVariantID>",
    "PushToken":"<PushToken>",
    "UserID":"<UserID>"}

The tokens included in the above request are:

  • AppVariantID - Unique ID for the app variant configured in the system. This is specified when the app variant is created in the system and is used as a means for validating genuine requests.
  • PushToken - Token assigned by the platform messaging service that is used for pushing notification messages for the selected app on the selected device.
  • UserID - ID associating the app user with a customer in the system. In the out-of-the-box implementation, the expected value for this field is the CustomerID property. Custom implementations can override the mechanism by which this field is associated to a customer in the system.

For the response, this service sets the appropriate HTTP status code. In case of errors, an appropriate message is also returned as part of the error stream.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us