Skip to Content
Won.dev

Register a sender

Say which company the emails are for. It can send at once. Free.

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

Says who the emails are from. You do not bring a mailbox or a domain: we send from mailboxes of our own that are already warmed up, each writing under its own name, and every email ends with your company name, your postal address and an unsubscribe link, which the law requires and which cannot be removed. Register one sender for each company you write for: an agency, or an agent working for several companies, registers each client as a sender of its own. A platform that sends for its own customers also sets tenant_id to the customer's ID: each tenant's recipients, unsubscribes, daily limit and standing are kept apart from the others', so one customer's mail cannot cost another's. The mailboxes are shared, but a mailbox writes to a company for one sender at a time, and replies go only to the sender whose emails they answer. A new sender can send at once. To write to people in the EU, the UK or Canada, declare your lawful basis in regions; without it, addresses there are left out. Free.

  • Billing: Free.

Parameters

Parameters go in the JSON body. POST requests also take an Idempotency-Key header, see Sending a request twice.

ParameterTypeRequiredDescription
company_namestringyesThe legal or trading name of the company the emails are sent for.
addressstringyesThe company's postal address: street, city, postcode, country. Every email carries it.
websitestringyesThe company's website, such as https://example.com.
purposestringyesWhat you offer and whom you will write to, in a sentence or two. It is kept with the sender.
regionsobject[]noRegions with stricter rules that you declare a lawful basis for. The declaration is recorded with the time and the key that made it.
regions[].regioneu | uk | cayeseu, uk or ca.
regions[].basisstringyesWhy you may write to people there, such as: legitimate interest, B2B contacts at companies that import our product category.
tenant_idstringnoYour own customer this sender writes for, when you send for customers of yours, such as cus_4821. Their campaigns are kept apart from your other tenants' and from your own. It cannot be changed later. Without it, the sender is your own.

Response

Errors are described in Errors.

FieldTypeDescription
dataobject
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.
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.

Example

curl https://api.won.dev/v1/email/senders \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "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."
}'
{
  "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"
  },
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}

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

On this page