Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Registration Service

Updated on August 4, 2022

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

Pega Customer Decision Hub

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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