# OneSignal Mobile Push Association

**URL:** <https://forum.mautic.org/t/onesignal-mobile-push-association/23038>\
**Category:** Product Support\
**Created:** [March 14, 2022, 5:11pm UTC](https://forum.mautic.org/t/onesignal-mobile-push-association/23038 "2022-03-14T17:11:23Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [March 14, 2022, 5:11pm UTC](https://forum.mautic.org/t/onesignal-mobile-push-association/23038/1 "2022-03-14T17:11:23Z")

</div>

I have a user id(push id) from OneSignal, what else do I need to pass in order to associate this to a lead id of email.

Based on javascript API we have tried the following and it is not working:

```auto
curl -v "https://mymautic.com/notification/subscribe?osid=c83c457c-a064-11ec-9d17-92616526cb4c" --cookie "mtc_id=24887" --cookie "mautic_device_id=06p6qw5isht2cj7focgf6yy"

```

We do see the push\_ids table growing each time we run this curl but no association to an email or lead id
