List unsubscribers

The ListUnsubscribers method retrieves a list of contacts that unsubscribed after a given dateTime.

Guidance Notes

Please note: the API method below is deprecated in favour of the ListSuppressedContacts method. Alternatively, we recommend moving to version 2.0 beta of the API as it contains the most recent functionality (available in both SOAP and REST).

It should be noted that the ListSuppressedContacts method can only be used to retrieve up to 1000 records.

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com required
password string This is the password from your API key. required
startDate dateTime The date from which you wish to query. required

Return values

The result is an array of contact objects.

Error responses

  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_LOGIN
  • ERROR_PARAMETER_INVALID
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Example of use in C# .NET

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd