Programatic Notifications

In addition to the OneSignal web portal you may use OneSignal's Server REST API to send push notifications programmatically.

OneSignal's REST API is documented at

When sending notifications through OneSignal's API, you may target users by specifying predefined segments, filtering by parameters, or specific OneSignalUserIds or other identifiers.