Get "badge-notification" from API?

Hi,

Is it possible to get the number of notications from the API?

The one next to the user’s avatar: image

We did find this call /notifications.json?recent=true&limit=5 however this returns more than only the badge and would require us to parse the json and count everything over again. (Only this seems to come up from the search.)

Thanks,
R

I suggest referring to How to reverse engineer the Discourse API

2 Likes

Thanks, that was effectively the path I was going to take if nobody had done it before / if there were no easy api or .json page that returns the needed data.

Did you resolve this? What api did you end up using?