# How to get unread notification / topic count via API?

**URL:** <https://meta.discourse.org/t/how-to-get-unread-notification-topic-count-via-api/113927>\
**Category:** Product Support\
**Created:** [10 באפריל,‏ 2019,‏ 6:37am UTC](https://meta.discourse.org/t/how-to-get-unread-notification-topic-count-via-api/113927 "2019-04-10T06:37:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [10 באפריל,‏ 2019,‏ 5:02pm UTC](https://meta.discourse.org/t/how-to-get-unread-notification-topic-count-via-api/113927/7 "2019-04-10T17:02:02Z")

</div>

I think we should always encourage people to do such requests from the backend.

Maybe a simple Rails/Sinatra example app where:

- Discourse users authenticate using SSO with the example application

- Example application has a simple header that shows DIscourse notifications

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-unread-notification-topic-count-via-api/113927)._
