# SparkPost API 变更 - 有人知道这是否会影响 Discourse 的服务吗？

**URL:** <https://meta.discourse.org/t/sparkpost-api-change-anyone-know-if-this-will-affect-service-for-discourse/80174>\
**Category:** Support\
**Created:** [2018 年2 月 9 日 14:14 UTC](https://meta.discourse.org/t/sparkpost-api-change-anyone-know-if-this-will-affect-service-for-discourse/80174 "2018-02-09T14:14:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
发布日期： [2018 年2 月 9 日 14:14 UTC](https://meta.discourse.org/t/sparkpost-api-change-anyone-know-if-this-will-affect-service-for-discourse/80174/1 "2018-02-09T14:14:54Z")

</div>

They are amending the API on Monday, does anyone have a 5 mile high view on whether Discourse sites that use SparkPost will be affected?:

" As a reminder, and as outlined in this [blog post](http://page.messagesystems.com/NL00vS8u000m3qD0uC80i1f), we will make suppression checks asynchronously on incoming messages. As a result, the response in both the REST Transmissions API and the SMTP API will change as follows:

SMTP API

- 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

Transmissions REST API

Single recipient

- 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

- 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”."

> **[Unified CRM for Marketing, Service & Payments | Bird](https://bird.com/en-us/?sp=true)**
>
> Engage customers on WhatsApp, Email, and SMS with one platform for marketing, support & payments. Trusted by 50,000+ businesses worldwide.

---

_[View the full topic](https://meta.discourse.org/t/sparkpost-api-change-anyone-know-if-this-will-affect-service-for-discourse/80174)._
