This method can be used to generate a compressed CSV export of all of your current user data. It is a much faster alternative than retrieving this data using the
/players API endpoint.
The file will be compressed using GZip.
The file may take several minutes to generate depending on the number of users in your app.
The URL generated will be available for 3 days and includes random v4 uuid as part of the resource name to be unguessable.
403 Error Responses
You can test if it is complete by making a GET request to the
csv_file_urlvalue. This file may take time to generate depending on how many device records are being pulled. If the file is not ready, a 403 error will be returned. In which case, you set setup a retry to pull again after some time has passed. Otherwise the file itself will be returned.
Only one concurrent export is allowed per OneSignal account. Please ensure you have successfully downloaded the
.csv.gzfile before exporting another app.
OneSignal Player Id
Number of times they visited the app or site
Device language code
Number of seconds away from UTC. Example:
Version of your mobile app gathered from Android Studio
Device Operating System Version. Example:
Device Operating System Type. See
Device Hardware String Code.
Based on the Google Advertising Id for Android, identifierForVendor for iOS.
Current OneSignal Data Tags on the device.
Date and time the user last opened the mobile app or visited the site based on UTC.
Total amount of time in seconds the user had the mobile app open.
Mobile only - amount spent in USD on In-App Purchases. More details.
Date and time the device record was created in OneSignal. Mobile - first time they opened the app with OneSignal SDK. Web - first time the user subscribed to the site.
Current number of badges on the device
Your User Id set on the device.
Check this value if
The secondary use of this field is for iOS devices (device_type = 0).
bit 0 - badges
See the OneSignal-iOS-SDK Source for more details on these iOS bitflags.
Location points (Latitude and Longitude) set on the device.
Android device rooted or not
IP Address of the device if being tracked. See Handling Personal Data.
Web Only authorization key.
Web Only p256 key.