mailjet/mailjet-apiv3-php

Blocks & Hard/Soft Bounces Statistics

pr0grammr opened this issue · 1 comments

Where can i get all contacts that are blocked, or hard/soft bounced, given an campaign ID oder contactlist ID?
without using webhooks.
i would like to receive a list of users, which are soft/gard bounced or blocked.

i did the same with unsubscribed users. i want to do the same with blocked/bounces.

public function getUnsubscribedContactsFromContactList(int $contactListId)
{
    $response = Mailjet::get(Resources::$Listrecipient, [
	    'filters' => [
		    'ContactsList' => $contactListId,
		    'Unsub' => true
	    ]
    ]);

    return $response->getBody();
}

Hello @pr0grammr
Unfortunately, right now there is no way to get those contacts with such params