# Where is push notification data stored

**URL:** https://meta.discourse.org/t/where-is-push-notification-data-stored/157995
**Category:** Data & reporting
**Tags:** sql-query
**Created:** [July 17, 2020, 12:46am UTC](https://meta.discourse.org/t/where-is-push-notification-data-stored/157995 "2020-07-17T00:46:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amityada](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@amityada](https://meta.discourse.org/u/amityada)
#### Post date: [July 17, 2020, 12:46am UTC](https://meta.discourse.org/t/where-is-push-notification-data-stored/157995/1 "2020-07-17T00:46:23Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/0/f/0fde19b894fb18b43800b133c7b8a273d3979cd0.png)

Is this data point stored in any table?

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [July 17, 2020, 12:55am UTC](https://meta.discourse.org/t/where-is-push-notification-data-stored/157995/3 "2020-07-17T00:55:33Z")

</div>

Hi Amit,

Yes, underneath the hood we are using native browser [push notifications](https://developers.google.com/web/ilt/pwa/introduction-to-push-notifications). The (per-browser) client subscriptions is stored in the `push_subscriptions` table.

(Note, this depends on if you are on mobile or desktop: on desktop notifications, there is nothing to store, as it uses the browser [notification api](https://developer.mozilla.org/en-US/docs/Web/API/notification). Only mobile notfications need to be stored server-side in the `push_subscriptions` table)

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [February 1, 2021, 6:39pm UTC](https://meta.discourse.org/t/where-is-push-notification-data-stored/157995/4 "2021-02-01T18:39:38Z")

</div>

A post was split to a new topic: [Do push notifications use 3rd party brokers?](https://meta.discourse.org/t/do-push-notifications-use-3rd-party-brokers/178004)

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [February 1, 2021, 6:39pm UTC](https://meta.discourse.org/t/where-is-push-notification-data-stored/157995/5 "2021-02-01T18:39:44Z")

</div>


