Notification subscription methods

Each method represents a specific activity related to managing the current user's subscription for notification for a specific comment thread(s). You use each method by sending a request to the URI in a certain format. Upon successful request, the server always responds with a 200 OK status code.

In the following, you can see details on the methods you can use to manage notification subscription.

Get notification status for current user

HTTP GET request: /RestApi/comments-api/notifications

Posted data JSON format:

Subscription status:

Subscribe current user to notifications for a thread

HTTP POST request: /RestApi/comments-api/notifications/subscribe

Posted data JSON format:

User successfully subscribed from thread.

Unsubscribe current user from notifications for a thread

HTTP POST request: /RestApi/comments-api/notifications/unsubscribe

Posted data JSON format: 

User successfully unsubscribed from thread.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Captcha methods