Auto generation of user api keys for push notification

I see. Thanks a lot for your help @sam. I ended up installing the Discourse Webhooks plugin 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!