Skip to main content
Once OneSignal is connected to your app, you have two ways to send notifications: the OneSignal dashboard for manual delivery, and the REST API for automated or programmatic delivery. This guide covers how the two options relate and configurations such as deep-linking, custom sounds, and where to find your keys. For server-side and event-triggered notifications, see Programmatic notifications.

Dashboard vs. REST API

Most teams use both the dashboard for broadcasts and campaigns, and the API for transactional and behavioral messages.

Finding your app ID and API key

You’ll need these for both App Studio setup and any server-side API calls. In the OneSignal dashboard, go to Settings > Keys & IDs for your app. For more details on where these appear in the OneSignal UI, see OneSignal: Keys & IDs .

Sending from the dashboard

You can create and send push messages from the OneSignal dashboard . For step-by-step instructions on creating a message, setting the audience, and configuring delivery or scheduling, see OneSignal: Send push notifications – Dashboard . The rest of this page focuses on what works specifically in Median apps when sending from the dashboard or API.

Deep-linking to a specific page

By default, tapping a notification opens your app’s home screen. To send users to a specific page, use the targetUrl field in the Additional Data section, not the Launch URL field. This is an important distinction. The two URL fields behave very differently in Median apps: To add targetUrl:
  1. In the notification composer of the OneSignal dashboard, scroll to Additional Data.
  2. Add a key of targetUrl and set the value to the URL you want to open.
OneSignal Additional Data section with a targetUrl key and an example URL as its value

OneSignal dashboard: targetUrl

The app will navigate to that URL when the user taps the notification, just as if they had navigated there directly inside the app.
Building more complex tap behavior?You can pass additional data fields alongside targetUrl to trigger custom JavaScript logic when the notification is opened. See Handling notification taps for the full pattern.
Learn more about opening URLs via push notifications in the OneSignal documentation .

Adding custom sounds and notification channels

You can attach a custom sound to any notification you send from the dashboard. Custom sounds must be uploaded through App Studio first. They’re automatically named custom_sound_1, custom_sound_2, and so on in the order they’re uploaded. You then select or reference those names in the OneSignal dashboard or API. For full details on uploading sounds and the platform-specific file format requirements, see Notification customization.
Android noteOn Android, custom sounds are tied to notification channels (categories). You’ll need to configure a notification channel with the desired sound before it can be selected in the dashboard. OneSignal’s notification categories guide walks through this setup.
Last modified on November 7, 2026