Admin Push Campaigns

Estimate audience size for a campaign targeting spec

Returns an upper-bound recipient count from our DB (filters on role, subscription_tier, is_founder, is_enrolled). Platform / app version filters are evaluated by OneSignal at send time and are not reflected in the count.

post/api/admin/push-campaigns/preview

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/push-campaigns/preview
  • Auth
    HTTP bearer

Request body

Response

unknown required

Example response

{
  "estimate": 412,
  "isExact": false,
  "disclaimer": "Platform, app version..."
}

Changes

No recorded changes to this operation across all 34 revisions of this API.