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 thetargetUrl 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:
- In the notification composer of the OneSignal dashboard, scroll to Additional Data.
- Add a key of
targetUrland set the value to the URL you want to open.

OneSignal dashboard: targetUrl
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.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 namedcustom_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.