Export campaign segment contacts

Start an Excel export of all contacts matching a segment. The segment preview Export button uses the generic export-data service.

Endpoint

POST
/export-data

Request

Response

json

The UI opens fileUrl in a new tab when success is true.

Notes

  • Export may be asynchronous on large segments; behavior depends on your backend.
  • Segment query must be non-empty for the preview export path in the app (the UI blocks empty queries).

Report an issue with this documentation

Please log in to report issues with our documentation.