# SparkPost API Change

**URL:** https://forum.mautic.org/t/sparkpost-api-change/10221
**Category:** Product Support
**Created:** [February 12, 2018, 4:13am UTC](https://forum.mautic.org/t/sparkpost-api-change/10221 "2018-02-12T04:13:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)
#### Post date: [February 12, 2018, 4:13am UTC](https://forum.mautic.org/t/sparkpost-api-change/10221/1 "2018-02-12T04:13:37Z")

</div>

Hi,

Per today SparkPost changed its email API. I found this information regarding the change:

> Summary of the current and future behavior The following is a summary of the current and future behavior for when a recipient is suppressed
> 
> **SMTP**
> 
> - Current: return a ‘250 Ok’ and ‘policy rejection’ event (no injection event)
> - Future: return a ‘250 Ok’ with ‘injection’ event followed by a ‘bounce’ event REST API
> 
> **Single recipient transmission**
> 
> - Current: return a 400 with special error message, followed by a ‘generation rejection’ event
> - Future: return a 200 with an ‘injection’ event followed by a ‘bounce’ event Multiple recipient transmission
> 
> - Current: return a 200 followed by a ‘generation rejection’ event (no injection event)
> - Future: return a 200 with an ‘injection’ event followed by a ‘bounce’ event
> 
> When a bounce is generated due to suppression the webhook will have bounce\_class of “25” and an error\_code of “554” and reason of “Recipient address was suppressed due to customer policy” or “Recipient address was suppressed due to system policy”

Source: [MessageBird | An omnichannel communications platform](https://www.sparkpost.com/blog/upcoming-api-transmission-endpoint-changes/)

I want to encourage anyone with the appropriate technical skill to take a look and evaluate if the changes affect the way Mautic works with SparkPost or even breaks it.

All the best,

Peter

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [October 17, 2019, 4:34pm UTC](https://forum.mautic.org/t/sparkpost-api-change/10221/2 "2019-10-17T16:34:34Z")

</div>


