跳到正文
Won.dev
冷邮件 API

收件人列表

查看发送活动中的收件人及各自进度。免费。

GET https://api.won.dev/v1/email/campaigns/{id}/recipients

查看发送活动中的收件人及各自进度:已收到几封邮件、下一封何时到期,以及序列已结束的人是因何结束。按添加顺序排列。免费。

  • 计费: 免费。

参数

id 放在路径中,其余参数放在查询字符串里,多个值用英文逗号分隔。

参数类型必填说明(API 原文)
idstring是Campaign ID, such as cmp_7p1q8w3e5r4k2m9x.
statusverifying | scheduled | active | replied | completed | bounced | unsubscribed | suppressed | invalid | stopped否Only recipients in this status.
limitinteger否How many to return, 1 to 100. Default: 25.
cursorstring否To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

响应

错误说明见错误码。

字段类型说明(API 原文)
dataobject[]The recipients of this page.
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.
has_morebooleanWhether more follow this page.
next_cursorstring | nullPass it as cursor to get the next page. Null on the last page.
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/campaigns/cmp_7p1q8w3e5r4k2m9x/recipients?status=active&limit=1" \
  -H "Authorization: Bearer $WON_API_KEY"
{
  "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": "active",
      "reason": null,
      "risky": false,
      "emails_sent": 1,
      "next_send_at": "2026-11-24T15:20:00.000Z",
      "last_sent_at": "2026-11-19T15:07:31.000Z",
      "metadata": {
        "crm_id": "lead_4471"
      },
      "created_at": "2026-11-18T14:03:10.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "cur_Qm9vVGhpc0lzQVNhbXBsZQ",
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}

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

本页内容