# api.notifications.getNotifications()

**URL:** <https://community.homey.app/t/api-notifications-getnotifications/26901>\
**Category:** Developers\
**Created:** [March 8, 2020, 11:54pm UTC](https://community.homey.app/t/api-notifications-getnotifications/26901 "2020-03-08T23:54:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [March 8, 2020, 11:54pm UTC](https://community.homey.app/t/api-notifications-getnotifications/26901/1 "2020-03-08T23:54:10Z")

</div>

Hi,

I’m trying to read all notifications in my app, but get a permission denied. Anyone know what I’m doing wrong? I’m simply using the api to access the notifications:

```
async getNotifications() {
    const api = await this.getApi();
    return await api.notifications.getNotifications();
}

```

and have the

```
"permissions": [
    "homey:manager:api"
],

```

in my app.json. Other api calls work OK.

HomeyDash is able to read notifications, and the same goes for the api-playground, so I’m sure there must be a way to access the notifications. Heimdall is even able to write notifications in an own category so I must be doing something wrong 🙂

Many thanks in advance!
