跳到正文
Won.dev
冷邮件 API

停止给某人发信

结束某个收件人的邮件序列。免费。

POST https://api.won.dev/v1/email/recipients/{id}/stop

结束某个收件人的邮件序列,此人不会再收到这个活动的邮件。适用于你已经通过其他途径联系上对方的情况。它不会把对方加入禁发名单;如需加入,请用 POST /email/suppressions。对序列已结束的人调用不会产生任何变化。免费。

  • 计费: 免费。

参数

id 放在路径中,其余参数放在 JSON 请求体里。POST 请求还支持 Idempotency-Key 请求头,见重复请求。

参数类型必填说明(API 原文)
idstring是Recipient ID, such as rcp_9x7p1q8w3e5r4k2m.

响应

错误说明见错误码。

字段类型说明(API 原文)
dataobject
data.idstringRecipient ID, such as rcp_9x7p1q8w3e5r4k2m.
data.campaign_idstring
data.emailstring
data.first_namestring | null
data.last_namestring | null
data.companystring | null
data.countrystring | nullISO 3166-1 alpha-2, as given or as read off the address.
data.contact_idstring | nullThe person ID it was added by.
data.statusverifying | scheduled | active | replied | completed | bounced | unsubscribed | suppressed | invalid | stoppedverifying while the address is checked, scheduled before the first email, active between emails. Final: replied, completed (every email sent, no answer), bounced, unsubscribed, suppressed, invalid, stopped.
data.reasonstring | nullWhy, for invalid, stopped, bounced and suppressed.
data.riskybooleanThe address could not be confirmed: its domain accepts mail for any name.
data.emails_sentinteger
data.next_send_atstring | nullWhen the next email is due at the earliest.
data.last_sent_atstring | null
data.metadataobjectYour own keys and values, as you gave them. Empty when none were.
data.created_atstringWhen it was added, as an ISO 8601 time in UTC.
noticestring | nullA plain sentence when there is something to know about this answer. Null otherwise.
usageobjectNothing is charged here. The balance, for reference.
usage.costnumberWhat this call cost, in US dollars.
usage.balancenumberThe balance left after this call, in US dollars.
usage.replayedbooleanTrue when this is a repeat of a request from the last 24 hours. Repeats are free.

示例

curl https://api.won.dev/v1/email/recipients/rcp_9x7p1q8w3e5r4k2m/stop \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "data": {
    "id": "rcp_9x7p1q8w3e5r4k2m",
    "campaign_id": "cmp_7p1q8w3e5r4k2m9x",
    "email": "dana.whitfield@harborline-imports.example",
    "first_name": "Dana",
    "last_name": "Whitfield",
    "company": "Harborline Imports",
    "country": "US",
    "contact_id": null,
    "status": "stopped",
    "reason": "manual",
    "risky": false,
    "emails_sent": 1,
    "next_send_at": null,
    "last_sent_at": "2026-11-19T15:07:31.000Z",
    "metadata": {
      "crm_id": "lead_4471"
    },
    "created_at": "2026-11-18T14:03:10.000Z"
  },
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}

用测试 key(won_test_...)发送这个请求,会在沙箱中运行:不发信,不收费。

本页内容