Gets contacts who are opted in to a given preference

This method returns an array of up to 1000 contacts who are opted in to a given preference.

If no contacts are opted in to the given preference, an empty array is returned. Otherwise an array, which contains contact objects is returned.


Preference categories

Results are returned only for preferences, not preference categories.

If you specify the ID of a preference category in the path parameter, an empty array will always be returned.

SOAP action:


Input and output parameters

Input parameters

  • PreferenceID - required; integer
  • MinContactID - integer

Output parameters

  • GetContactsWithPreferenceResult - Array of Contacts
    • Contact
      • ID - Integer
      • Email - string


using (var client = new ApiServiceClient())
    client.ClientCredentials.UserName.UserName = "username";
    client.ClientCredentials.UserName.Password = "password";
    var result = client.GetContactsWithPreference(preferenceId: 1, minContactId: 0);