送信停止リストに追加する
アドレスや企業のドメインを送信停止リストに追加します。無料。
アドレスや企業のドメイン全体を送信停止リストに追加します。既存の顧客、競合、ほかの場所で連絡しないでほしいと言った人などです。次のメールから、実行中のものを含むすべてのキャンペーンで効きます。sender_id をつけると、その送信者のキャンペーンでだけ効きます。同じものを2回追加しても何も変わりません。1回の呼び出しで最大1,000件のアドレスと100件のドメインまで追加できます。テストキーには専用のリストがあり、本番のキャンペーンはそれに従いません。無料です。
- 課金: 無料。
テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。
apiKeyAuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
Idempotency-Key?stringAny unique string. A retry with the same key and the same body returns the first response and is not charged again.
length <= 255application/json- body
emails?array<>Addresses never to write to, such as lee.park@coastal-office.example.
items <= 1000[]domains?array<>Company domains never to write to, such as coastal-office.example: every address at them is left out. Mail services such as gmail.com cannot be suppressed as a whole.
items <= 100[]sender_id?stringHold them back from this sender's campaigns only, such as snd_4k2m9x7p1q8w3e5r. Without it, from all of yours.
length <= 40The result.
application/json- response
data*What became of the entries.
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 POST 'https://api.won.dev/v1/email/suppressions' \ -H 'Content-Type: application/json' \ -d '{ "emails": [ "lee.park@coastal-office.example" ], "domains": [ "brightdesk.example" ]}'{ "data": { "added": 2, "already_listed": 0, "rejected": [] }, "notice": null, "usage": { "cost": 0, "balance": 48.08, "replayed": false }}最終更新日