本文へスキップ
Won.dev
ドキュメントAPIリファレンス
コールドメールAPI

送信停止リストから外す

自分で追加したエントリーや、バウンスしたアドレスをリストから外します。無料。

自分で追加したエントリーや、バウンスしたアドレスをリストから外します。誤って追加したときのためのものです。配信停止した人や苦情を申し立てた人はリストに残ります。それはあなたではなく、その人が決めたことだからです。バウンスしたアドレスは、バウンスから90日経つまでは除外されたままで、その後もう一度試されます。エントリーを外しても、そのエントリーのせいで終わったシーケンスは再開しません。無料です。

  • 課金: 無料。

テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。

DELETE
/email/suppressions/{id}

認証

apiKey
headerAuthorizationBearer <APIキー>

Authorization: Bearer won_live_..., a key from the console.

パスパラメータ

id*string

Suppression ID, such as sup_8w3e5r4k2m9x7p1q.

長さlength <= 40

ヘッダーパラメータ

Idempotency-Key?string

Any unique string. A retry with the same key returns the first response, instead of not_found for what is already gone.

長さlength <= 255

レスポンスボディ

The result.

application/json
  1. response
data*

The entry that was removed.

notice*|

A plain sentence when there is something to know about this answer. Null otherwise.

usage*

Nothing is charged here. The balance, for reference.

リクエストの例
curl -X DELETE 'https://api.won.dev/v1/email/suppressions/sup_8w3e5r4k2m9x7p1q'
レスポンスの例
{  "data": {    "id": "sup_8w3e5r4k2m9x7p1q",    "deleted": true  },  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

最終更新日