Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Open URLs inside the app

⚠️ The “Launch URL” field provided by OneSignal won’t work inside the app, you will need to use “Additional Data” in order to display a specific URL in the app when the notification is clicked.

When you create a push notification, either via the OneSignal Dashboard or the REST API, you can specify a URL to open when the notification is clicked.

To do so, you must include a field called “url” in the “Additional Data” area, with the URL that must be opened as the value.

Below you can see what that should look like:

Notion Image
OneSignal Dashboard
//OneSignal REST API

"included_segments": [
  "Subscribed Users"
],
"data": [
	'url' = 'https://website.com'
],
"contents": {
  "en": "Notification content",
}