Weekly event exports
If you have a high volume of marketing events each week, this service generates raw data exports of all webhook calls over a 7-day period. Pipe the exported raw data into your preferred analytics tools.
To use this service, open a webhook on your infrastructure to receive a link to a CSV file containing the unaggregated raw data once the export is computed. If the raw data volume is too high, you receive a compressed file with multiple CSVs.
Currently the data exports include the following events:
Define an export notify url
Create a notify URL on your side to receive the webhook call containing the information and path of the generated CSV file with your transactional raw data. The data persists for 7 days.
Example
Post a new job export
To execute the export job, call the following endpoint:
This example creates a job request for allEvents registered in the past 7 days. You can also define more specific queries with additional filters.
Response
If your request is accepted, you receive a processId. Use it to track the status of the asynchronous export operation via the following endpoint:
Receiving the raw data on your application
Once the asynchronous job completes, your notifyURL receives the following payload, indicating the data is ready and uploaded to the url path below. Each data export URL has an expiry, so download the file before it is removed from our servers.
CSV contents
Checking the status of an ongoing export job
Query the process_id you received in the response on the Return the informations for a process endpoint.
Limitations and quotas
- The maximum number of exports per 7-day period is 20.
- If the data volume is too high, you receive a compressed file with multiple CSV files. Iterate over them and upload them to your system.