Export Email Threads
Export the email threads matching the current filters as typed .xlsx / CSV.
Same filters, same query as list_email_threads — the file equals the screen by construction. Above the row cap the request 422s rather than truncating. Every export writes a durable ExportAudit row (metadata only). The Emails tab has no row selection, so there is no ids subset param.
Query parameters
Include threads the source marked as spam
Include threads the source marked as spam
Filter to threads stamped at this tenant-local hour (0-23); heatmap cell drill.
Filter to threads stamped at this tenant-local hour (0-23); heatmap cell drill.
Filter to threads stamped on this tenant-local weekday (0=Mon..6=Sun); heatmap cell drill.
Filter to threads stamped on this tenant-local weekday (0=Mon..6=Sun); heatmap cell drill.
File format: xlsx or csv.
File format: xlsx or csv.
Ordered visible column keys to export. Core identity columns (last activity / subject / guest email) always export. Unknown keys are a 422.
Ordered visible column keys to export. Core identity columns (last activity / subject / guest email) always export. Unknown keys are a 422.
Custom metrics to export — two columns each (result, score).
Custom metrics to export — two columns each (result, score).
Filename stem (sanitized to ASCII kebab).
Filename stem (sanitized to ASCII kebab).
Human filter description for the workbook context header.
Human filter description for the workbook context header.
Deprecated - use offset.
Deprecated - use offset.
Deprecated - use limit.
Deprecated - use limit.
Which timestamp the date range filters. Valid values differ per subject; an unknown one is a 422 listing them.
Which timestamp the date range filters. Valid values differ per subject; an unknown one is a 422 listing them.
Deprecated - use start_date.
Deprecated - use start_date.
Deprecated - use end_date.
Deprecated - use end_date.
Deprecated - use date_field=created_at.
Deprecated - use date_field=created_at.
Include hotels the conversation was only considered for, not just the one it was attributed to.
Include hotels the conversation was only considered for, not just the one it was attributed to.
Named conversation-population filters: business_hours, min_call_25s, real_customer_message, exclude_spam_test, dedupe_24h.
Named conversation-population filters: business_hours, min_call_25s, real_customer_message, exclude_spam_test, dedupe_24h.
Reject filters this subject cannot apply with a 422, instead of returning a wider population and reporting them in ignored_filters.
Reject filters this subject cannot apply with a 422, instead of returning a wider population and reporting them in ignored_filters.
Deprecated - use agent_id.
Deprecated - use agent_id.
Deprecated - use metric_filters.
Deprecated - use metric_filters.
Deprecated - use metric_filters.
Deprecated - use metric_filters.
Deprecated - use has_booking_intent.
Deprecated - use has_booking_intent.
Response
The export file (XLSX or CSV, per the format param).