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.
| Parameter | Type | Required | Description |
|---|---|---|---|
company_name | string | yes | The legal or trading name of the company the emails are sent for. |
address | string | yes | The company's postal address: street, city, postcode, country. Every email carries it. |
website | string | yes | The company's website, such as https://example.com. |
purpose | string | yes | What you offer and whom you will write to, in a sentence or two. It is kept with the sender. |
regions | object[] | no | Regions with stricter rules that you declare a lawful basis for. The declaration is recorded with the time and the key that made it. |
regions[].region | eu | uk | ca | yes | eu, uk or ca. |
regions[].basis | string | yes | Why you may write to people there, such as: legitimate interest, B2B contacts at companies that import our product category. |
tenant_id | string | no | Your 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.
| Field | Type | Description |
|---|---|---|
data | object | |
data.id | string | Sender ID, such as snd_4k2m9x7p1q8w3e5r. |
data.company_name | string | The company the emails are sent for. Every email names it. |
data.address | string | The company's postal address. Every email carries it. |
data.website | string | The company's website. |
data.purpose | string | What the company sends and to whom, as it was described to us. |
data.tenant_id | string | null | The customer of yours the sender writes for, as you named it when you registered the sender. Null: the account itself. |
data.status | active | rejected | suspended | active: it can send, from the moment it is registered. rejected or suspended when we stopped it, with the reason in review_note. |
data.review_note | string | null | Why we stopped the sender, when we did. |
data.regions | object[] | Regions the sender declared a lawful basis for: eu, uk, ca. |
data.regions[].region | eu | uk | ca | |
data.regions[].basis | string | |
data.regions[].declared_at | string | |
data.test | boolean | Made with a test key: approved at once, never sends. |
data.created_at | string | When it was created, as an ISO 8601 time in UTC. |
notice | string | null | A plain sentence when there is something to know about this answer. Null otherwise. |
usage | object | Nothing is charged here. The balance, for reference. |
usage.cost | number | What this call cost, in US dollars. |
usage.balance | number | The balance left after this call, in US dollars. |
usage.replayed | boolean | True 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.