An API is available to retrieve information about sending via SMTP: consumption and bounces (returns in error).
You will find your SMTP API key on the platform in the "My Account" section.
All data is returned in JSON format.
List of available data:
- the bounces over the last 10 days (there is a 24-hour cache): http://www.eml-srv.com/_api_rest/direct_smtp
.php?api_key=API_KEY&get=bounces - the bounces over the last 2 hours (there is a 5-minute cache): http://www.eml-srv.com/_api_rest/direct_smtp
.php?api_key=API_KEY&get=bounces_live - "all" (success or failed) over the last 2 hours (there is a 5-minute cache): http://www.eml-srv.com/_api_rest/direct_smtp
.php?api_key=API_KEY&get=all_live - volumes per day over the last 30 days (with a 1h cache): http://www.eml-srv.com/_api_rest/direct_smtp
.php?api_key=API_KEY&get=conso_by_day - volumes per month overall (with a 24-hour cache): http://www.eml-srv.com/_api_rest/direct_smtp
.php?api_key=API_KEY&get=conso_by_month
This post is also available in: Français (French)