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.
- Select the segment you want to export or N/A for all users (subscribed + unsubscribed).
- Make sure the columns that you want to export are present.
- Select the Export buttons.
- An email will be automatically sent to your OneSignal account's email with a CSV of the data.
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 export | Provides 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 devices | Provides 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 device | Get specific User Data by Player ID | Similar 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.
Updated almost 2 years ago