跳到正文
Won.dev
冷邮件 API

发件方列表

分页列出你的发件方。免费。

GET https://api.won.dev/v1/email/senders

分页列出你的发件方,按时间倒序。免费。

  • 计费: 免费。

参数

参数放在查询字符串里,多个值用英文逗号分隔。

参数类型必填说明(API 原文)
tenant_idstring否Only the senders of this tenant.
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 senders of this page.
data[].idstringSender ID, such as snd_4k2m9x7p1q8w3e5r.
data[].company_namestringThe company the emails are sent for. Every email names it.
data[].addressstringThe company's postal address. Every email carries it.
data[].websitestringThe company's website.
data[].purposestringWhat the company sends and to whom, as it was described to us.
data[].tenant_idstring | nullThe customer of yours the sender writes for, as you named it when you registered the sender. Null: the account itself.
data[].statusactive | rejected | suspendedactive: it can send, from the moment it is registered. rejected or suspended when we stopped it, with the reason in review_note.
data[].review_notestring | nullWhy we stopped the sender, when we did.
data[].regionsobject[]Regions the sender declared a lawful basis for: eu, uk, ca.
data[].regions[].regioneu | uk | ca
data[].regions[].basisstring
data[].regions[].declared_atstring
data[].testbooleanMade with a test key: approved at once, never sends.
data[].created_atstringWhen it was created, 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/senders?limit=20" \
  -H "Authorization: Bearer $WON_API_KEY"
{
  "data": [
    {
      "id": "snd_4k2m9x7p1q8w3e5r",
      "company_name": "Northwind Seating Ltd",
      "address": "18 Harbour Road, Leeds LS1 4AP, United Kingdom",
      "website": "https://northwind-seating.example",
      "purpose": "We make office chairs and write to furniture importers and distributors about our new catalogue.",
      "status": "active",
      "tenant_id": null,
      "review_note": null,
      "regions": [],
      "test": false,
      "created_at": "2026-11-17T09:12:44.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null,
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}

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

本页内容