冷邮件 API
收件人列表
查看发送活动中的收件人及各自进度。免费。
GET https://api.won.dev/v1/email/campaigns/{id}/recipients
查看发送活动中的收件人及各自进度:已收到几封邮件、下一封何时到期,以及序列已结束的人是因何结束。按添加顺序排列。免费。
- 计费: 免费。
参数
id 放在路径中,其余参数放在查询字符串里,多个值用英文逗号分隔。
| 参数 | 类型 | 必填 | 说明(API 原文) |
|---|---|---|---|
id | string | 是 | Campaign ID, such as cmp_7p1q8w3e5r4k2m9x. |
status | verifying | scheduled | active | replied | completed | bounced | unsubscribed | suppressed | invalid | stopped | 否 | Only recipients in this status. |
limit | integer | 否 | How many to return, 1 to 100. Default: 25. |
cursor | string | 否 | To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters. |
响应
错误说明见错误码。
| 字段 | 类型 | 说明(API 原文) |
|---|---|---|
data | object[] | The recipients of this page. |
data[].id | string | Recipient ID, such as rcp_9x7p1q8w3e5r4k2m. |
data[].campaign_id | string | |
data[].email | string | |
data[].first_name | string | null | |
data[].last_name | string | null | |
data[].company | string | null | |
data[].country | string | null | ISO 3166-1 alpha-2, as given or as read off the address. |
data[].contact_id | string | null | The person ID it was added by. |
data[].status | verifying | scheduled | active | replied | completed | bounced | unsubscribed | suppressed | invalid | stopped | verifying 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[].reason | string | null | Why, for invalid, stopped, bounced and suppressed. |
data[].risky | boolean | The address could not be confirmed: its domain accepts mail for any name. |
data[].emails_sent | integer | |
data[].next_send_at | string | null | When the next email is due at the earliest. |
data[].last_sent_at | string | null | |
data[].metadata | object | Your own keys and values, as you gave them. Empty when none were. |
data[].created_at | string | When it was added, as an ISO 8601 time in UTC. |
has_more | boolean | Whether more follow this page. |
next_cursor | string | null | Pass it as cursor to get the next page. Null on the last page. |
notice | string | null | A plain sentence when there is something to know about this answer. Null otherwise. |
usage | object | Nothing is charged here. The balance, for reference. |
usage.cost | number | What this call cost, in US dollars. |
usage.balance | number | The balance left after this call, in US dollars. |
usage.replayed | boolean | True 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_...)发送这个请求,会在沙箱中运行:不发信,不收费。