本文へスキップ
Won.dev
ドキュメントAPIリファレンス
コールドメールAPI

送信ドメインの一覧

送信ドメインを、メールボックスと更新日とともに返します。無料。

送信ドメインを新しい順に返します。メールボックス、今日送れる数と送った数、更新日がつきます。送信者がすべてのドメインで今日あと何通送れるかは、GET /email/senders/{id} の sending にあります。手放したドメインや買えなかったドメインは、ended がtrueでなければ含まれません。テストキーでは、サンドボックスの各送信者が持つシミュレーションのドメインが見えます。無料です。

  • 課金: 無料。

テストキー(won_test_...)では、これはサンドボックスで動きます。何も送信されず、課金もされません。

GET
/email/domains

認証

apiKey
headerAuthorizationBearer <APIキー>

Authorization: Bearer won_live_..., a key from the console.

クエリパラメータ

sender_id?string

Only the domains of this sender.

長さlength <= 40
ended?boolean

Also the domains that were released or failed.

デフォルトfalse
limit?integer

How many to return, 1 to 100.

範囲1 <= value <= 100
デフォルト25
cursor?string

To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

長さlength <= 200

レスポンスボディ

The result.

application/json
  1. response
data*array<>

The domains of this page.

has_more*boolean

Whether more follow this page.

next_cursor*|

Pass it as cursor to get the next page. Null on the last page.

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 GET 'https://api.won.dev/v1/email/domains?sender_id=snd_4k2m9x7p1q8w3e5r'
レスポンスの例
{  "data": [    {      "id": "dom_8w3e5r4k2m9x7p1q",      "sender_id": "snd_4k2m9x7p1q8w3e5r",      "domain": "northwind-chairs.example",      "status": "ramping",      "end_reason": null,      "mailboxes": [        {          "address": "alex@northwind-chairs.example",          "name": "Alex Morgan"        },        {          "address": "alex.m@northwind-chairs.example",          "name": "Alex Morgan"        },        {          "address": "morgan@northwind-chairs.example",          "name": "Alex Morgan"        }      ],      "daily_limit": 21,      "full_daily_limit": 45,      "sent_today": 9,      "full_speed_at": "2026-11-29T00:00:00.000Z",      "price_per_month": 27,      "period_end": "2026-12-28T00:00:00.000Z",      "renews": true,      "ends_at": null,      "renewal_failed_at": null,      "stats": {        "sent": 33,        "bounced": 0,        "bounce_rate": 0,        "complaints": 0      },      "test": false,      "created_at": "2026-11-24T10:02:00.000Z",      "ready_at": "2026-11-24T10:07:12.000Z",      "ended_at": null    },    {      "id": "dom_5r4k2m9x7p1q8w3e",      "sender_id": "snd_4k2m9x7p1q8w3e5r",      "domain": "northwindseating.example",      "status": "active",      "end_reason": null,      "mailboxes": [        {          "address": "alex@northwindseating.example",          "name": "Alex Morgan"        },        {          "address": "alex.morgan@northwindseating.example",          "name": "Alex Morgan"        },        {          "address": "a.morgan@northwindseating.example",          "name": "Alex Morgan"        }      ],      "daily_limit": 45,      "full_daily_limit": 45,      "sent_today": 31,      "full_speed_at": null,      "price_per_month": 27,      "period_end": "2026-12-28T00:00:00.000Z",      "renews": true,      "ends_at": null,      "renewal_failed_at": null,      "stats": {        "sent": 812,        "bounced": 9,        "bounce_rate": 0.0111,        "complaints": 0      },      "test": false,      "created_at": "2026-11-17T09:20:03.000Z",      "ready_at": "2026-11-17T09:24:41.000Z",      "ended_at": null    }  ],  "has_more": false,  "next_cursor": null,  "notice": null,  "usage": {    "cost": 0,    "balance": 48.08,    "replayed": false  }}

最終更新日