1. Set the External ID
You should use OneSignal’s Aliases & External ID to match your records of users with users in OneSignal.2. Send the Message From our API
After users are matched between your database and OneSignal, you can send a message with our API Create notification method using theinclude_aliases: { "external_id": [...] } or other alias.