# Trigger In-App Notifications without OneSignal

**URL:** <https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114>\
**Category:** Development\
**Created:** [July 9, 2021, 9:21am UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114 "2021-07-09T09:21:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waldgeist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/waldgeist/32/5384_2.png) [@waldgeist](https://forum.mautic.org/u/waldgeist)\
**Post date:** [July 9, 2021, 9:21am UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114/1 "2021-07-09T09:21:33Z")

</div>

We’ve already implemented In-App-Notifications in our app, but without OneSignal. Is there a way to trigger these kind of notifications from Mautic using a server-to-server call (e.g. via a web hook), without using OneSignal as a provider?

I’d only need a REST call to an endpoint in our app that triggers and sends the contacts along which should be targeted, plus the text for the in-app notification.

I’ve seen that I can add a webhook to a campaign. But how could I add the contact (or their email) as a data payload to this hook?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 9, 2021, 11:20am UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114/2 "2021-07-09T11:20:47Z")

</div>

Hi,

Really interested to understand how you will go about doing this. Is you app firebase based ?

To add payload to the web hook inside a campaign you can do it like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/57fc2da42696b84ecaf9c1176d0af41848577656.png)

---

<div class="post-metadata">

**Author:** ![waldgeist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/waldgeist/32/5384_2.png) [@waldgeist](https://forum.mautic.org/u/waldgeist)\
**Post date:** [July 10, 2021, 7:49am UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114/3 "2021-07-10T07:49:01Z")

</div>

Hi @mikew, thanks for your fast response!

My use case is sending push notifications from our app. It is based on Meteor, not Firebase. The idea is to setup a campaign for the push notifications and let our server send them once the web hook fires.

Thanks for your sample screenshot. I guess that `{contactfield=id}` will include the id of the contact? That would be awesome! Is there a documentation somewhere that explains these magic bracket syntax? I couldn’t find it.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [July 10, 2021, 1:45pm UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114/4 "2021-07-10T13:45:13Z")

</div>

Hi

Happy it helped. I think you can find a full list of all tokens [here](https://docs.mautic.org/en/setup/variables)

---

<div class="post-metadata">

**Author:** ![waldgeist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/waldgeist/32/5384_2.png) [@waldgeist](https://forum.mautic.org/u/waldgeist)\
**Post date:** [July 10, 2021, 2:05pm UTC](https://forum.mautic.org/t/trigger-in-app-notifications-without-onesignal/20114/5 "2021-07-10T14:05:12Z")

</div>

Thanks! I wouldn’t have found them at this place. There seems to be no documentation of the webhooks embedded in Campaigns at all, at least I could not find any.
