# How can I check if a user has allowed notification permission?

**URL:** <https://forum.adalo.com/t/how-can-i-check-if-a-user-has-allowed-notification-permission/18576>\
**Category:** Get Help\
**Created:** [October 17, 2021, 12:01pm UTC](https://forum.adalo.com/t/how-can-i-check-if-a-user-has-allowed-notification-permission/18576 "2021-10-17T12:01:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekaliuapp](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@thekaliuapp](https://forum.adalo.com/u/thekaliuapp)\
**Post date:** [October 17, 2021, 12:01pm UTC](https://forum.adalo.com/t/how-can-i-check-if-a-user-has-allowed-notification-permission/18576/1 "2021-10-17T12:01:14Z")

</div>

There is a “Request Notifications” action type that triggers a user to allow notifications.

How can I check if the user actually allowed notifications?

I have a dedicated screen for requesting permissions and I need to know when I should show the screen.

There’s no information in the help docs on how it works.

> **[Glossary](https://help.adalo.com/glossary#request-permission-action-type)**
>
> This is a list of words and definitions for some commonly used Adalo phrases and lingo!

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [October 18, 2021, 6:16pm UTC](https://forum.adalo.com/t/how-can-i-check-if-a-user-has-allowed-notification-permission/18576/2 "2021-10-18T18:16:56Z")

</div>

Hi @thekaliuapp,

Not sure there is a direct way to get this info. Though you can try to use Adalo API as a workaround.  
See the document here: [Trigger Push Notifications via API - Adalo Resources](https://help.adalo.com/integrations/the-adalo-api/push-notifications).  
The key thing will be using the _response_ from the API. So, the logic might be:

- user visits the screen in the app, where you have “request notification permissions” action
- user answers yes or no (we don’t know it now)
- in some time, you send Push notification to this user
- if you get “failed” \> 0, then it means user hasn’t allowed notifications
- if you get “successful” \> 0, then user has enabled notifications for your app. This is the info you need.

Such approach might require some testing, though it’s worth exploring from my point of view 🙂

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [October 28, 2021, 6:17pm UTC](https://forum.adalo.com/t/how-can-i-check-if-a-user-has-allowed-notification-permission/18576/3 "2021-10-28T18:17:46Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
