Skip to main content

OneSignal Email

Configuration Requirements

You can get your OneSignal App ID and REST API Key by following these instructions.

Profile Requirements

To deliver a message to a recipient over OneSigal, Courier must be provided the recipient's PlayerId or ExternalId. This ID should be included in the recipient profile as oneSignalPlayerID or oneSignalExternalUserId.

JSON
{
"message": {
"to": {
"oneSignalPlayerID": "..."
}
}
}
// or
{
"message": {
"to": {
"oneSignalExternalUserId": "..."
}
}
}
Was this helpful?