# Send Push Notification Through Thunkable

**URL:** <https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [August 9, 2021, 2:08pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814 "2021-08-09T14:08:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 9, 2021, 2:08pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/1 "2021-08-09T14:08:31Z")

</div>

I am unable to send push notification through thunkable . Plz Help

---

<div class="post-metadata">

**Author:** ![emma0122](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emma0122/32/108510_2.png) [@emma0122](https://community.thunkable.com/u/emma0122)\
**Post date:** [August 9, 2021, 4:01pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/2 "2021-08-09T16:01:09Z")

</div>

Do let me know once you get an answer worth satisfying.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 9, 2021, 7:12pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/3 "2021-08-09T19:12:26Z")

</div>

Show your work and where you got stuck.

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [August 10, 2021, 5:51am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/4 "2021-08-10T05:51:36Z")

</div>

me too I have generated through one signal but its not working

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 10, 2021, 10:39am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/5 "2021-08-10T10:39:12Z")

</div>

Yes Sending the pics

 ![Capturepush1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/2381fb3071bb56d8fc1904382dbab0d8dd0d537e.png)  
 ![push notification](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/e/1ec6b5f3fbdaa728926c001b5790bd4dab390ef7.png)

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 10, 2021, 10:39am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/6 "2021-08-10T10:39:24Z")

</div>

Can u plz help

---

<div class="post-metadata">

**Author:** ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)\
**Post date:** [August 10, 2021, 10:49am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/7 "2021-08-10T10:49:12Z")

</div>

See this, here you can find the correct blocks:

> [@Sending Notification to Specific User with Onesignal](https://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…

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 10, 2021, 4:46pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/8 "2021-08-10T16:46:41Z")

</div>

Plz help

---

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [August 10, 2021, 7:09pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/9 "2021-08-10T19:09:34Z")

</div>

Have you verified your JSON?

Here’s part of what I did:  
 ![onesignal-setup](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/9/b9431abe61c064f1a85522946fbf3d0a43d7791f.png)

What this does is send the specific phone a message. The UserID is the one generated by OneSignal, though I’m not sure if this happens  
You also need to have a header set as: **Content-Type:** application/json; charset-utf-8

You don’t have to have the tags part, if you don’t need it remove the last comma before “tags” and add a curly bracket }

I can’t remember the JSON needed for the message and title, but it should easy to find.

Also AFAIK, use PUT not POST (though my information is over a year old).

Good luck.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 11, 2021, 7:01am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/10 "2021-08-11T07:01:01Z")

</div>

Try this project. You need to supply the AppID for it to work.

This is a working example  
[https://x.thunkable.com/projectPage/6113727f3925f50012c178b4](https://x.thunkable.com/projectPage/6113727f3925f50012c178b4)

Remember that Push Notification has different ID(s) for Android and iOS so use the one that fits your device,

Test can only be done with Android devices.  
It does **NOT** work from the Web Live Test  
You need to try it from the mobile and to see it working you might need to download and install the APK.

Happy Thunking!

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [August 11, 2021, 9:14am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/11 "2021-08-11T09:14:43Z")

</div>

I got an app id but not working without API

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 11, 2021, 9:26am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/12 "2021-08-11T09:26:43Z")

</div>

I didn’t understand what you mean. Please explain further and show your codes.

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 11, 2021, 9:56am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/13 "2021-08-11T09:56:33Z")

</div>

Thanks a ton , it is working . But it is only sending to one user . i want to send notifications to all users . How to do that

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 11, 2021, 10:05am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/14 "2021-08-11T10:05:13Z")

</div>

The PlayerID is a list. You need to fill the list with all ID(s) you want to send the notification to.

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 11, 2021, 10:16am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/15 "2021-08-11T10:16:12Z")

</div>

How will i know all player id ‘s ?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 11, 2021, 10:32am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/16 "2021-08-11T10:32:31Z")

</div>

How would you know the email addresses of your app users?  
How would you know the phone numbers of your app users?  
How would you know the device type of your app users?

It is the same thing about OneSignal PlayerID.

---

<div class="post-metadata">

**Author:** ![arwaibrahim](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arwaibrahim/32/113034_2.png) [@arwaibrahim](https://community.thunkable.com/u/arwaibrahim)\
**Post date:** [August 11, 2021, 11:22am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/17 "2021-08-11T11:22:48Z")

</div>

I am very new to the coding . Plz help me . I want to send push notifications to all users . I am actually creating an app for blood donation . Plz help

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 11, 2021, 11:36am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/18 "2021-08-11T11:36:50Z")

</div>

You need to collect PlayerID from each user. There is no other way.  
If you have a Login Screen then get the PlayerID when the user Login and save it in your database.

It doesn’t matter what your app is doing. You have to find a way in your code to read PlayerID of each user and save it to use it later.

---

<div class="post-metadata">

**Author:** ![hdawc](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hdawc/32/119068_2.png) [@hdawc](https://community.thunkable.com/u/hdawc)\
**Post date:** [October 21, 2021, 5:29pm UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/19 "2021-10-21T17:29:28Z")

</div>

I don’t believe that is true.

When a user opens the app for the first time and the OneSignal component is installed, the phone’s UUID is automatically added to the default list in OneSignal.

There isn’t any interaction required from the end-user.

The app can then “send itself” notifications via the OneSignal API and the automatically generated PlayerID/ UUID.

Also, @arwaibrahim the word you are looking for is “Please”. “Plz” is not a polite part of internet culture (and not standard English).

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [October 22, 2021, 2:24am UTC](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814/20 "2021-10-22T02:24:22Z")

</div>

> [@hdawc](#):
>
> Also, @arwaibrahim the word you are looking for is “Please”. “Plz” is not a polite part of internet culture (and not standard English).

what you’re saying is not polite. the community is not about silly english words. @arwaibrahim just wants this to be solved.

[Next page](https://community.thunkable.com/t/send-push-notification-through-thunkable/1439814.md?page=2)
