Export User Data

How to download your users data from the dashboard and API

How to Export User Data from Dashboard

In the Audience > Users tab, you can export a CSV of all user data or segments.

  1. Select the segment you want to export or N/A for all users (subscribed + unsubscribed).
  2. Make sure the columns that you want to export are present.
  3. Select the Export buttons.
  4. An email will be automatically sent to your OneSignal account's email with a CSV of the data.
2156

Image showing the users table

How to Export User Data From the API

To export specific users i.e all users with the x tag or "last active over 3 months ago". You must first create a Segment with the desired parameters, then export the segment from the dashboard or API. Segments only contain subscribed users. If you want unsubscribed devices, you will need to export all users and filter manually.

API Endpoint
User Data CSV exportProvides a link to a CSV file for download of all users.
Can filter by Segments
Best way to get all user data from OneSignal including ad_id, web_auth, and web_p256 keys.
View devicesProvides paginated view of up to 50 device records per request. (Unavailable for Apps with over 80,000 users)Provides similar but more limited data to User Data CSV export
View deviceGet specific User Data by Player IDSimilar to View devices data.

How to Export User Data with Data Tags

In the Audience > Users tab, you can export a CSV of all user data with those who have more than your current plans data tag entitlement.

In the secondary arrowed dropdown on Export, there is the ability to export all subscriptions with N tags. Note. N will change depending on your plan type, and is the plan-specific data tag limit. This ensures you can always remove tags for subscriptions above your current plans entitlement.

1289

The image shows the export ability for subscriptions above 10 data tags.