Admin Push Campaigns
Send a push notification campaign to a OneSignal-defined audience
Requires at least one targeting dimension (refuses to broadcast to all users). Persists a row in push_campaigns with the audit trail and returns the OneSignal-reported recipient count.
post/api/admin/push-campaigns/send
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/push-campaigns/send
- AuthHTTP bearer
Request body
Response
unknown required
Example response
{
"success": true,
"campaignId": 17,
"recipientCount": 312,
"onesignalNotificationId": "b98cf9..."
}Changes
No recorded changes to this operation across all 34 revisions of this API.