# Can't get Onesignal API

**URL:** <https://community.thunkable.com/t/cant-get-onesignal-api/632029>\
**Category:** Questions about Thunkable X\
**Created:** [June 23, 2020, 7:29am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029 "2020-06-23T07:29:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 23, 2020, 7:29am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/1 "2020-06-23T07:29:22Z")

</div>

Hi. i read a lot of articles about one signal API here.  
So first i made blocks to tag users.

And secondly, im making Admin app for track some data and so on.  
i tried to track the number of users from one signal.

But it doesn’t work. when it lives, the numbers are all “0”.  
here are screen shots.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/5/858061f9e3c3287faa0980d908787b62eb6531fe.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43065d2ddf1ecc2880de91fc6098a0b5d8df5711.png)

and in Document about One signal API, it said

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/077221c8e54a8c54b57738e7a05350c42ea59d0f.png)

i think i put url and header with right parameters.  
what do you guys think the problem here?

---

<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, 2:13pm UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/2 "2020-06-29T14:13:15Z")

</div>

Hi @saramdl.gaunde021

From your screenshot it looks like your are web testing your app and push notifications are [not supported](https://docs.thunkable.com/web-preview) on web testing at this time.

Does the app perform as expected when you install it on one of your devices?

Thanks.

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 30, 2020, 8:41am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/3 "2020-06-30T08:41:03Z")

</div>

I downloaded in iOS and Android but failed.

---

<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 30, 2020, 10:52pm UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/4 "2020-06-30T22:52:55Z")

</div>

@saramdl.gaunde021 which part failed, the download or the installation?

You’re a PRO user, right?

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 30, 2020, 11:16pm UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/5 "2020-06-30T23:16:05Z")

</div>

yes its PRO.

i mean i downloaded and installed successfully, but failed to GET API from Onesignal (the numbers are still 0)

---

<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:** [July 1, 2020, 7:16am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/6 "2020-07-01T07:16:39Z")

</div>

On your OneSignal dashboard do you have any registered users? (You should have at least one)

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [July 1, 2020, 7:47am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/7 "2020-07-01T07:47:25Z")

</div>

of course i do. haha. its hundreds

maybe some mistake making blocks but i dont understand now.

---

<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:25am UTC](https://community.thunkable.com/t/cant-get-onesignal-api/632029/8 "2024-11-08T11:25:13Z")

</div>


