Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de cold mail

Listar domínios de envio

Os seus domínios de envio, com as caixas e quando renovam. Grátis.

Os seus domínios de envio, do mais recente para o mais antigo, com as caixas, o que cada um pode enviar hoje e já enviou, e quando renova. O que um remetente ainda pode enviar hoje, com todos os domínios juntos, é sending em GET /email/senders/{id}. Domínios devolvidos ou que não puderam ser comprados ficam de fora, a não ser que ended seja true. Uma chave de teste vê o domínio simulado de cada remetente do sandbox. Grátis.

  • Cobrança: Grátis.

Uma chave de teste (won_test_...) roda isto no sandbox: nada é enviado e nada é cobrado.

GET
/email/domains

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

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

Parâmetros de consulta

sender_id?string

Only the domains of this sender.

Tamanholength <= 40
ended?boolean

Also the domains that were released or failed.

Padrãofalse
limit?integer

How many to return, 1 to 100.

Intervalo1 <= value <= 100
Padrão25
cursor?string

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

Tamanholength <= 200

Corpo da resposta

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.

Requisição de exemplo
curl -X GET 'https://api.won.dev/v1/email/domains?sender_id=snd_4k2m9x7p1q8w3e5r'
Resposta de exemplo
{  "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  }}

Última atualização em