# Push notification to specefic user

**URL:** <https://community.thunkable.com/t/push-notification-to-specefic-user/630051>\
**Category:** Questions about Thunkable X\
**Tags:** onesignal\
**Created:** [June 22, 2020, 8:50am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051 "2020-06-22T08:50:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![regisby-if](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@regisby-if](https://community.thunkable.com/u/regisby-if)\
**Post date:** [June 22, 2020, 8:50am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/1 "2020-06-22T08:50:02Z")

</div>

Hello,

This is my first message on this forum and I hope to find help.

I use thunkable X and One signal.  
Sending push notifications works well.  
Now I would like to be able to send a push notification from the application to a specific user.

I know how to get the user ID for push with the block : “in Push\_notification call GetUserId”.

The problem is how to send a specific message to this user?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 29, 2020, 1:58pm UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/2 "2020-06-29T13:58:44Z")

</div>

Hey @regisby-if 👋 welcome to the community.

We have #Tutorials and DIY Guides on how to do this with the Player ID:

> [@Sending Notification to Specific User with Onesignal](http://community.thunkable.com/t/sending-notification-to-specific-user-with-onesignal/150022):
>
> Hi All, The Thunkable X documentation only shows you the possibility of using OneSignal to send notifications on bulk to your list of subscribed or active users. However many applications require the ability to send a notification to a specific user based on an action that occurs within the app. For example when I request an Uber, a notification is sent directly to me when my Uber is one minute away. We can do similar with OneSignal and Thunkable by doing the below (Note: you can’t live test P…

Hope that helps.

---

<div class="post-metadata">

**Author:** ![regisby-if](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@regisby-if](https://community.thunkable.com/u/regisby-if)\
**Post date:** [June 29, 2020, 3:22pm UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/3 "2020-06-29T15:22:49Z")

</div>

Tanks Jacob for your answeard.  
Il’m out for this week but I will try your solution next week and let you know if it’s OK for me.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 29, 2020, 8:08pm UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/4 "2020-06-29T20:08:03Z")

</div>

Thanks for the update - drop by next week and let us know how it goes for you!

---

<div class="post-metadata">

**Author:** ![regisby-if](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@regisby-if](https://community.thunkable.com/u/regisby-if)\
**Post date:** [July 8, 2020, 7:35am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/5 "2020-07-08T07:35:31Z")

</div>

Hi Jacob

I started to try to implement your solution for One signal.

But in you exemple, at the third point I don’t understand how to configure web api :

_3 - In order to send Push Notifications on a triggered event we are going to use OneSignals REST API, place a WEB API component into your app and fill in the details as shown below:  
URL: [https://onesignal.com/api/v1/notifications](https://onesignal.com/api/v1/notifications) 121  
In the Property Field add “Authorization” and in the value field “Basic” & YOUR\_AUTHORISATION\_CODE which you can find here 60  
Then repeat the Process with “Content-Type” in the property field and “application/json” in the value field. These will be your Headers for the API call._

In your text you say “as shown below”, but there is no image below.

I tried to clicked on the url : [https://onesignal.com/api/v1/notifications](https://onesignal.com/api/v1/notifications) 121 but it show a 404 one signal error.

SO know I don’t understand what i fill with the different field :

- URL
- QueryParameters : property and value ?
- Body : ?
- Headers : Property and Value ?

Can you help me ?

---

<div class="post-metadata">

**Author:** ![regisby-if](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@regisby-if](https://community.thunkable.com/u/regisby-if)\
**Post date:** [July 14, 2020, 9:46am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/6 "2020-07-14T09:46:27Z")

</div>

I have continu to search how to implement and I think I have understand.  
But now, when I want to send a push notification to a user I have a message error :

{“status”:400, ”error”:”There was a problem in the JSON you submitted: unexpected character at line 1, column 3 [parse.c692] in ‘{ “app\_id”: “5138xxxxxxxxxxxxxxxx8871ce”, “contents”: {“en”: “TEST”}, “headings”: {“en”: “YOUHOU”}, “url”: “”, “include\_player\_ids”: [“56e4xxxxxxxxxxxxxxxxxxxc”] }”}

Can you help me ?

---

<div class="post-metadata">

**Author:** ![rwplummer1yf4f](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@rwplummer1yf4f](https://community.thunkable.com/u/rwplummer1yf4f)\
**Post date:** [April 13, 2021, 11:54am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/7 "2021-04-13T11:54:11Z")

</div>

I am having a similar issue. The guide is good but very difficult to follow as the writer has assumed the audience has a lot of knowledge.

---

<div class="post-metadata">

**Author:** ![codeemaker](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeemaker/32/101762_2.png) [@codeemaker](https://community.thunkable.com/u/codeemaker)\
**Post date:** [April 13, 2021, 12:32pm UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/8 "2021-04-13T12:32:53Z")

</div>

Who Is jacob?? Do you mean @domhnallohanlon

---

<div class="post-metadata">

**Author:** ![rwplummer1yf4f](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@rwplummer1yf4f](https://community.thunkable.com/u/rwplummer1yf4f)\
**Post date:** [April 14, 2021, 11:22am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/9 "2021-04-14T11:22:22Z")

</div>

I got this working finally. See my post here.

> [@Sending Notification to Specific User with Onesignal](https://community.thunkable.com/t/sending-notification-to-specific-user-with-onesignal/150022/83):
>
> This all looks a little flaky. I tried the solution proposed by @jacob1 and couldn’t get that to work. I got error messages about invalid character at line 1 column 3. I tried the solution proposed by @drted and couldnt get that to send anything. So I combined the two methods. If you are having issues getting this to work try this approach. In the query parameters of your web\_api component add parameter app\_id. in the value field add your onesignal api id In the headers section add t…

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:24am UTC](https://community.thunkable.com/t/push-notification-to-specefic-user/630051/10 "2024-11-08T11:24:57Z")

</div>


