Generate a compressed CSV report of all of the events data for a notification.
This API provides the same data exportable from within the dashboard Audience Activity section for each message report. For details on each type of data, see:
Concurrent Exports
Only one concurrent export is allowed per OneSignal account. Please ensure you have successfully downloaded the
.csv.gz
file before exporting another app.
404 Error Responses
You can check if the file is complete by making a GET request to the
csv_file_url
value. This file may take time to generate depending on how many records are being pulled. If the file is not ready, a 404 error will be returned. In which case, you can setup a retry to pull again after some time has passed. Otherwise the file itself will be returned.