Get Subscriber Unsubscribes

Getting all unsubscribed subscribers of a list (apiGetSubscriberUnsubscribes)

With this option, you retrieve all unsubscribed subscribers of a list. This function takes a list ID as a parameter. This function only provides the e-mail address.

Request

NameTypeExampleRequiredComment
listIDInteger123456789apiGetList() delivers all possible List IDs.
startInteger0
countInteger100limited to 100

Response

[subsriberResponse] => Array
(
    [0] => stdClass Object
        (
            [subscriberID] => 123456789

            [subscriberEmail] => joe.smith@example.com

            [subscriberTimestampSubscribe] => 1395692130

            [subscriberTimestampUnsubscribe] => 1413447945
        )
   [...]
)

Error Response

NameTypeExampleRequiredComment
listIDInteger123456789apiGetList() delivers all possible List IDs.
startInteger0
countInteger100limited to 100

PHP5 Example

try{
    $request = array(
        'start'=>       0,
        'count'=>       100,
        'listID'=> 123456,
    );
    $response=$client->apiGetSubscriberUnsubscribes($request);
}
catch (SoapFault $exception) {
    echo ($exception->getMessage());
}