Buy sending domains
Buy sending domains for a sender: 3 warmed-up mailboxes and 45 emails a day each, $27 a month.
Buys sending domains for one sender: each comes with 3 mailboxes that are already warmed up, sends for that sender alone, and adds 45 emails a day to what it can send. Nothing to set up: no DNS, no mailbox to sign in to, and replies are read for you. A domain costs $0.9 a day, 30 days at a time from the renewal date on. All domains renew on the same day of the month, so the first period runs from today to that day: 15 to 45 days, paid now. Each renews by itself from your balance 3 days before period_end; if the balance cannot cover it, it is tried again until the day before, and the domain is then given up. Without confirm: true this only quotes the price, the date and how many are in stock, and changes nothing. A new domain is ready within minutes (domain.ready) and sends 15 emails on its first day, reaching full speed in 5 days. Campaigns of the sender that were paused for no_domains go on by themselves once it is. Fails with out_of_stock when not enough are for sale, before anything is charged. Up to 10 at once. A test key only gets the quote: in the sandbox every sender has a simulated domain already. Each call that confirms buys again: send an Idempotency-Key to make a retry safe.
- Billing:
email_domain_day$0.9: one sending domain for one day. Withconfirm: truethe days up toperiod_endare charged at once, then 30 at a time, 3 days before each renewal. Without it the call only quotes, for free.
A test key (won_test_...) runs this in the sandbox: nothing is sent and nothing is charged.
apiKeyAuthorizationBearer <API key>Authorization: Bearer won_live_..., a key from the console.
Idempotency-Key?stringAny unique string. A retry with the same key and the same body returns the first response and is not charged again.
length <= 255application/json- body
sender_id*stringThe sender to buy them for, such as snd_4k2m9x7p1q8w3e5r. They never send for another.
length <= 40count?integerHow many domains, 1 to 10.
1 <= value <= 101confirm?booleanTrue buys them and charges this period. False, the default, only quotes it.
falsemax_cost?numberSpending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
0 < valueThe result.
application/json- response
data*The domains and their price.
notice*|A plain sentence when there is something to know about this answer. Null otherwise.
usage*What this call was charged, and the balance left.
curl -X POST 'https://api.won.dev/v1/email/domains' \ -H 'Content-Type: application/json' \ -d '{ "sender_id": "snd_4k2m9x7p1q8w3e5r", "count": 1, "confirm": true, "max_cost": 30}'{ "data": { "confirmed": true, "sender_id": "snd_4k2m9x7p1q8w3e5r", "count": 1, "price": 28.8, "price_per_domain": 28.8, "days": 32, "period_end": "2026-12-28T00:00:00.000Z", "price_per_month": 27, "daily_limit": 45, "first_day_limit": 15, "days_to_full_speed": 5, "in_stock": 24, "domains": [ { "id": "dom_5r4k2m9x7p1q8w3e", "sender_id": "snd_4k2m9x7p1q8w3e5r", "domain": null, "status": "setting_up", "end_reason": null, "mailboxes": [], "daily_limit": 0, "full_daily_limit": 45, "sent_today": 0, "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": 0, "bounced": 0, "bounce_rate": 0, "complaints": 0 }, "test": false, "created_at": "2026-11-26T10:15:02.000Z", "ready_at": null, "ended_at": null } ] }, "notice": null, "usage": { "cost": 28.8, "breakdown": [ { "unit": "email_domain_day", "records": 32, "already_paid": 0, "cost": 28.8 } ], "balance": 19.28, "replayed": false }}Last updated on