Skip to main content

I want to know for sure that email was delivered, if so I consider it as successful send, no action required if not I need to do some stuff.
How can I check that email was not delivered through API

Hi terence,

There’s two ways that you can get this information:

  1. Pull the message directly with the Get message endpoint and inspect the error_type field
  2. Create a rule that triggers on sending errors and deliver those events to a webhook

The second option will use fewer API calls due to being event-based, rather than polling.  A rule that does this would look like:
 

A screenshot of Front’s custom rule editor displaying a rule that triggers on message delivery failures and sends those failures to a webhook.

 


Reply