Test your integration
Once everything’s set up, check whether it works as supposed to. There are several ways to test sending messages to your app or website subscribers:
Preview your first push notification on a test device
Test Devices are intended to preview how push notifications look on a device before sending them to the app users. To test out your push notifications, register your device (with your app installed) as a Test Device, and then use the Test Woosh button in the Push Preset form.
Learn more about setting up Test Devices
Send a push to a test segment
If you’re going to test your messages continually, consider creating a specific Filter for your testing devices to send test messages in a couple of clicks.
- Assign a unique Tag value to your device by calling the
/setTags
API method. - Create a Segment using this particular Tag value.
- Go to Campaigns → Create campaign → Push notification → One-time campaign.
- In the Audience-based entry element, select the the segment you have created.
- Select push content from previously created content or create custom content.
- Then, click Launch campaign.