Compliance APIs
Event Export
Export raw event data
GET
Event Export
Raw Event Export
Export raw event data as JSON for custom processing and analysis.Base URL
Authentication
Use Project Secret with HTTP Basic Auth.Download Data
Export events within a date range.integer
Required when using service account authentication
string
required
Start date in
yyyy-mm-dd format (inclusive)Interpreted as UTC timezone for projects created after January 1, 2023string
required
End date in
yyyy-mm-dd format (inclusive)integer
Maximum number of events to return (max: 100,000)
string
Event name(s) to export, encoded as JSON arrayExample:
["Signed Up", "Purchase"]string
Expression to filter events
boolean
Export timestamps with millisecond precisionDefault:
false (second precision)string
Set to
gzip to compress the responseExample Request
Response
Returns newline-delimited JSON (JSONL):Rate Limits
Best Practices
Use compression
Use compression
Always request gzip compression for large exports:
Export in reasonable date ranges
Export in reasonable date ranges
Split large exports into smaller chunks:
Use Data Pipelines for regular exports
Use Data Pipelines for regular exports
For scheduled exports, use Data Pipelines instead of polling the Export API.
Event Export