Bulk entity export by email
Bulk entity export by email
Queue an asynchronous job that exports filtered entities to CSV, XLSX, or JSON and delivers the resulting file to a recipient by email.
POST
Bulk entity export by email
Overview
Exports entities using the same filters asGET /entities, builds a file (csv, xlsx, or json), and delivers it by email. Returns 202 with jobId; poll status via GET /entities/export/jobs/{jobId}.
Endpoint
Auth, permissions, marketplace
Same as Email entity PDF report:Authorization, X-Organization-ID, entities:export, global_sender_email enabled, billing per recipient in recipientEmails.
Domain and sender
Same rules as the PDF email export:fromEmail: verified org domain; no sender row required.fromSenderId: UUID inorganization_email_senders.- Do not send both.
Request Body
Email recipients (max 26 after deduplication). Only these addresses; the API userβs email is not auto-added.
csv, xlsx, or json.Same shape as
GET /entities query filters. Default {}.en, es, or pt for the completion email.Optional snake_case export column keys; omit or
[] for all allowed columns.Sender UUID. Mutually exclusive with
fromEmail.From address on a verified domain. Mutually exclusive with
fromSenderId.Example
202 response
Job follow-up
GET /entities/export/jobs/{jobId}β status (queued,running,completed,failed).GET /entities/export/jobs/{jobId}/downloadβ download metadata when available.- Completion email may include a signed link (depends on server S3 settings).
400 errors
Same pre-flight codes as report-export-email.Related
- Email entity PDF report β
POST /entities/{id}/report-export/email.