zeyneloz / onesignal-node

A Node.js Library for OneSignal push notification service
MIT License
207 stars 48 forks source link

How can I send a push notification to a single player for testing purpose? #34

Closed Mustafax06 closed 4 years ago

Mustafax06 commented 4 years ago

I see that we can send notifications to segments but I couldn't find a function to send a notification to a specific user. How can I send a notification to a player ID?

zeyneloz commented 4 years ago

Please check the onesignal documentation You can use include_player_ids parameter in .createNotification body.