# Auto generation of user api keys for push notification

**URL:** <https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669>\
**Category:** Development\
**Created:** [8 نوفمبر 2017، 8:00ص UTC](https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669 "2017-11-08T08:00:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ayazmaroof](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@ayazmaroof](https://meta.discourse.org/u/ayazmaroof)\
**Post date:** [13 نوفمبر 2017، 2:35ص UTC](https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669/4 "2017-11-13T02:35:20Z")

</div>

I see. Thanks a lot for your help @sam. I ended up installing the [Discourse Webhooks plugin](https://github.com/rcfox/Discourse-Webhooks) which allows me to trigger a webhook on any internal event. I trigger the webhook on the internal notification event and then handle the notifications on my server since I already have permission to push to the end user’s device.

Thanks again!

---

_[View the full topic](https://meta.discourse.org/t/auto-generation-of-user-api-keys-for-push-notification/73669)._
