| Subscription type | Can receive |
|---|---|
| Email messages | |
| SMS | SMS, MMS, and RCS messages |
| Web Push | Web push notifications |
| Mobile | Mobile push notifications, In-app messages, and Live Activities |

Test Subscriptions
Test Subscriptions are a group of Subscriptions you designate for testing message delivery. They appear in a dedicated filter and can be targeted directly from the message composer. The Test Subscription flag is a User-level property, so it automatically syncs across all Subscriptions belonging to that User. For example, if a User has both an Email and a SMS subscription, marking one as a test subscription will mark both as test subscriptions. To add your device as a test subscription:- Find your Subscription ID using one of the methods below.
- Next to the Subscription ID, select Options > Add as test subscription.
- Name your test subscription.

Set via API
You can also mark a user as a test user through the REST API by setting thetest_user_name property when creating or updating a user.
test_user_name to an empty string ("").
Finding Subscriptions
The easiest way to find a Subscription is through the OneSignal dashboard. If you already know the user’s External ID, email, or phone number, search for it directly in Audience > Subscriptions.Search by last active
If you don’t know the user’s ID, you can find your device by activity:- Open your app or site on the device you want to find. Make sure OneSignal is initialized (code actively running).
- In the OneSignal dashboard, go to Audience > Subscriptions.
- Sort by Last Active (arrow pointing up) to see the most recently active devices at the top.
Verify it is your device
If multiple Subscriptions appear, use the Displayed Columns filter at the top-right to show additional columns that help identify your device:| Column | What to check |
|---|---|
| External ID | Should match the ID in your database for this user. |
| Last Active | Should reflect the time you just opened the app or site. Refresh the page to update. |
| First Session | The first time the device subscribed. Useful if you just subscribed for the first time. |
| IP Address | If enabled, compare with your IP at whatismyipaddress.com. See Data collected by the SDK. |
| Tags, Country | Helpful if you set a known tag like user_name or email on this device. |
| Device | Shows browser and version for web, or device model and OS version for mobile apps. |
Find by segment tag
If you added a specific tag to the user (e.g.,user_name or another identifier), you can create a segment with the User Tag filter to isolate that device.

Find Subscription ID programmatically
For developers who need the Subscription ID directly from code:Web Push (browser console)
Web Push (browser console)
- Open your site in the browser profile that is subscribed to push.
- Open the browser console (F12 or right-click > Inspect > Console).
- Run:
OneSignal.User.PushSubscription.id - The Subscription ID is logged to the console.
chrome://inspect/#devices to open a remote console session.Mobile app (Xcode / Android Studio)
Mobile app (Xcode / Android Studio)
Use the OneSignal SDK User Data Methods to log the Subscription ID to the console from Xcode or Android Studio.
FAQ
How do I remove a test subscription?
Go to Audience > Subscriptions, search for the subscription, then select Options > Remove from Test Subscriptions. The subscription remains in your app but is no longer set as a test subscription.Can I set test subscriptions from the API?
Yes. Use thetest_user_name property when calling Create user or Update user to mark a user as a test user. This syncs the label across all of that user’s subscriptions.
Can I send to test subscriptions from the API?
Yes. Use the Create notification API with theinclude_subscription_ids parameter and pass the Subscription IDs of your test devices.
My test subscription shows as unsubscribed. How do I re-subscribe it?
This depends on the subscription type:- Mobile push: The user must re-enable notifications for your app in their device settings (Settings > Notifications > [Your App]). OneSignal cannot programmatically override a user’s notification permission.
- Web push: The user must clear the notification block for your site in their browser settings and re-subscribe. See Web push troubleshooting for steps.
- Email / SMS: Go to Audience > Subscriptions, find the subscription, and check its status. If the subscription was removed by an unsubscribe action, you can update it via the Update Subscription API by setting
"status"to the appropriate value. Only do this if the user has re-consented to receive messages.
Why does the same person appear multiple times in the Test Subscriptions list?
Each app reinstall creates a new subscription. If you set your subscription as a test device after each reinstall, each one appears in the list with the same name you assigned. This is expected behavior.Why can’t I find my subscription in the dashboard?
The most common causes are:- The OneSignal SDK is not initialized on the page or screen you are using.
- You are searching by the wrong ID type. Try searching by email, phone number, or Subscription ID instead.
- The subscription was created in a different OneSignal app (e.g., staging vs. production).
Related pages
Subscriptions
Learn more about Subscriptions and how to manage them.
Users
Understand the OneSignal user model, aliases, and subscription records.
Segmentation
Create segments to target specific groups of users including test devices.
Data collected by the SDK
See what data the OneSignal SDK collects and stores for each subscription.
Create message API
Send notifications programmatically to specific subscription IDs.