Dataset Export Async
Queue a dataset export with a webhook to receive the result asynchronously.
This endpoint initiates an asynchronous data export process. The export is processed in the background, and once complete, your webhook will be called with the results.
Request Flow
- Submit your export request with dataset query and webhook URL
- Receive immediate 201 response confirming the export was queued
- Export is processed asynchronously (may take several minutes for large datasets)
- Your webhook is called when the export completes
Webhook Response Format
Once the export is complete, your webhook will receive a POST request with this payload:
HMAC Signature Verification
To verify the authenticity of webhook calls, compute the HMAC signature of the original request payload using your API key and compare it to the hmacSignature field in the webhook response.
Node.js Example:
Error Handling
- 400 Bad Request: Invalid webhook URL (must be HTTPS, no localhost/private IPs)
- 403 Forbidden: Invalid API key or insufficient permissions
- If the export fails during processing, your webhook will not be called
Requirements
- Valid API key in
x-api-key
header - QueryBuilder product subscription OR query must include a report tag filter
- Webhook URL must be HTTPS and publicly accessible (no localhost/private networks)
- Your webhook endpoint should respond with 2xx status to confirm receipt
Important Notes
- The download URL expires in 30 days - ensure you download the file promptly
- Large exports may take several minutes to complete
- The queryUUID can be used to match requests to responses for tracking
- Files are compressed with gzip for efficient transfer
Headers
x-api-key
Request
This endpoint expects an object.
format
Allowed values:
name
webhookURL
dataset
DatasetPayload defines what columns and filters to request for a dataset export.
Response
Created
queryUUID