OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Testing Web Push Notifications

After you finish the Web SDK setup, you can send yourself a test notification to make sure it works

1. Go to your site where OneSignal is active

Depending on which prompt you set up, the subscription prompt may look different upon visiting your site.

No matter which prompt you use first, all of your users must subscribe to the required browser prompt that will look something like this:

2. Click "Allow" on the required browser prompt

If you show another prompt first, you will need to click "Allow" on both prompts to subscribe or if you did not use a prompt, click the subscription bell in the bottom-right corner.

To see how to add another prompt or customize it later, see the Web Push Setup FAQ.

You may or may not get a Welcome Notification depending on if you disabled it or not.

Minimize or close your browser window.

3. Log in to the OneSignal Dashboard

If you have not exited out of the prompt already, click "Check Subscribed Users" button to make sure your device was subscribed.

If your browser was properly subscribed, click "Done".

If your browser was not properly subscribed see the troubleshooting doc.

4. Send yourself a notification

In New Message, follow the prompts. Type in Test Message on the 'Message' section, and on the 'Confirm' section, you must click the "Send Message" button in the top right corner.

You will then be taken to Sent Messages on the Dashboard so you can watch your notification progress in real time.

5. Click the notification

This will bring your site to the foreground and you can watch the notification statistics in Message Report on your OneSignal Dashboard.

You're Done!

Congratulations you are awesome!


Testing Web Push Notifications


After you finish the Web SDK setup, you can send yourself a test notification to make sure it works

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.