Skip to Content
Won.dev
DocumentationAPI reference
Cold email API

List sending domains

Your sending domains, with their mailboxes and when they renew. Free.

Your sending domains, newest first, with their mailboxes, what each may send today and has sent, and when it renews. What a sender can still send today, all of its domains together, is sending in GET /email/senders/{id}. Domains that were given up or could not be bought are left out unless ended is true. A test key sees the simulated domain each sandbox sender has. Free.

  • Billing: Free.

A test key (won_test_...) runs this in the sandbox: nothing is sent and nothing is charged.

GET
/email/domains

Authorization

apiKey
headerAuthorizationBearer <API key>

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

Query Parameters

sender_id?string

Only the domains of this sender.

Lengthlength <= 40
ended?boolean

Also the domains that were released or failed.

Defaultfalse
limit?integer

How many to return, 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

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

Lengthlength <= 200

Response Body

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.

Example Request
curl -X GET 'https://api.won.dev/v1/email/domains?sender_id=snd_4k2m9x7p1q8w3e5r'
Example Response
{  "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  }}

Last updated on