Initiate
Initiate request by specifying a Segment Group name. You can optionally pass lastdatetime to retrieve data for a specific period.
You can also specify MatchCriteria to retrieve data for specific profiles. ProfileID, AlternateID, EmailAddress, and PhoneNumber are the supported match criteria.
When MatchCriteria is provided in a request, it is merged with the segment group's predefined criteria to produce an output dataset that meets the segment group configuration while including only the specified profiles. If MatchCriteria is not supplied, the API returns all profiles that match the search criteria defined in the segment group.
The MatchType parameter is required when MatchCriteria is set to AlternateId, ensuring precise identifier resolution. For ProfileID, EmailAddress, and PhoneNumber, MatchType is optional. When provided, it filters the results to include only profiles that match the specified type. If omitted, the API processes the request based solely on the Values specified in the request.
- When EmailAddress or PhoneNumber is used as the
MatchCriteria, theMatchTypecan be a corresponding email or phone type. In this case, the returned data is filtered by the segment group criteria but includes only the profiles from your request that also contain the specified email address or phone number. - When ProfileID is used as the
MatchCriteria,MatchTypecan be a customer type. In this case, the returned data is filtered based on the segment group criteria, including only the requested profiles that match the given customer type.
Path Parameters
This is your organization’s MyPreferences account Id. A 404 is returned if this value is invalid.
Name of the MyPreferences segment group to export.
Body Parameters
Starting datetime to retrieve the updates. The LastDateTime support values up to the millisecond. The millisecond value will always be rounded to the nearest boundary to avoid records being skipped. For example, 000 through 002 becomes 003, 003 through 006 becomes 007, and 007 through 009 becomes 000 of the next higher value.
An optional parameter that allows you to restrict profiles that are returned by matching on specific identifiers such as Profile ID, Alternate ID, Email Address or Phone Number.
ProfileIdAlternateIdPhoneNumberEmailAddressFilters the output dataset to only include profiles that match the specified MatchType. Required when MatchCriteria is AlternateId; otherwise, optional.
Provide a collection of values that corresponds to your selected match criteria. For example, if you have chosen ProfileID as your match criteria, specify one or more profile IDs.
Show child attributes
Response
Response Attributes
Secure token returned by the Initiate call, required as a URL parameter in all subsequent API requests.