Skip to main content

Create Export Contact Segment Memberships

POST 

/directories/:directoryId/export-contact-segment-memberships

Exports the segment membership of each contact whose segment membership status has changed since the provided lastUpdatedDate parameter. Check the progress of the export with Get Contact Segment Memberships Export Progress. Once the export status is COMPLETED, the resulting CSV file can be downloaded using Get Contact Segment Memberships Export File.

warning

This API call is only available to XM Directory users.

Request​

Responses​

A collection of contact IDs mapped to list of segment IDs