Sign in

Export subscriptions CSV

documented

Request a CSV export of subscriptions for an app.

POST /players/csv_exportAnalyticsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.onesignal.com/players/csv_export?app_id={{APP_ID}}" \
  -X POST \
  -H "Authorization: Key {{ONESIGNAL_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"extra_fields": {{$extra_fields}}, "last_active_since": "{{$last_active_since}}", "segment_name": "{{$segment_name}}"}'