Skip to main content

List Contacts In Segment

GET 

/directories/:directoryId/segments/:segmentId/contacts

Return a list of all contacts in a specified mailing list.

For the last page of results, the value associated with nextPage will be null.

This API call is only available to XM Directory users.

The new string-based pagination functionality results in improved performance and a lower rate of timeouts. To opt in, append query parameter useNewPaginationScheme=true.

Request​

Responses​

A collection of contacts