Exporting User Data

How to download your users data from the dashboard and API

How to Export User Data from Dashboard

In the Audience > All 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 Actions button and Export Users.
  4. An email will be automatically sent to your OneSignal account's email.
  5. The attached file is a CSV file. We recommend importing the file into Exel, than opening it directly.
Image showing the users tableImage showing the users table

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 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.

Did this page help you?