It should be with message events API but I don't see a solution.
Could someone give me a hint?
Best regards, Nedim
It should be with message events API but I don't see a solution.
Could someone give me a hint?
Best regards, Nedim
The suppression list is only a list of emails that are blocked from being sent to in the future. I would not use this as a method to detect delivery. Email addresses you send to that result in a hard bounce, spam complaint, link unsubscribe, or list unsubscribe are automatically added to your suppression list so you can't send to those emails again.
You can definitely use the message events API to get what you are looking for. You can filter the events shown by the delivery event type using the events
parameter. You'll also want to supply the from
parameter and set it to three days ago. Here's an example call using cURL:
curl -X GET -H "Accept: application/json" -H "Authorization: <your-api-key>" "https://api.sparkpost.com/api/v1/message-events?from=2016-06-07T00:00&events=delivery"
Documentation for the message events API can be found here:
Additionally, there are endpoints for both documentation of all the fields returned as well as sample endpoints: