Forum Discussion

nicgutierrez's avatar
11 years ago

API: get count of unread notifications

Hello.

Is there any way to get the count of the unread notifications trough the rest API?

Many thanks.

Nic

  • Hi nicgutierrez - There doesnt seem to be any REST call to get the unread notifcations, the one I found was below, which returns the count, but it returns the count of total notifications, not the unread. There is also no way of combining the calls to make it happen in this case.

     

    /restapi/vc/users/login/[login]/notifications/count

     

    You might consider contacting support.

2 Replies

  • Hi nicgutierrez - There doesnt seem to be any REST call to get the unread notifcations, the one I found was below, which returns the count, but it returns the count of total notifications, not the unread. There is also no way of combining the calls to make it happen in this case.

     

    /restapi/vc/users/login/[login]/notifications/count

     

    You might consider contacting support.

  • nicgutierrez's avatar
    nicgutierrez
    Ace
    11 years ago

    Hi VarunGrazitti .

    Thanks for your help.

    I was looking the other day at the documentation and as you said there's isn't any REST call to get the number of unread notifications.
    I'll accept your reply as a solution.

    Thanks.

    Nic