Request dedicated capacity
Mailboxes of your own for 200 to 5,000 emails a day, at $0.01 an email. $25 per domain every 30 days.
POST https://api.won.dev/v1/email/capacity
Gives your account mailboxes of its own, for 200 to 5000 emails a day: nobody else's mail leaves from them, and every email costs $0.01 instead of $0.03. The plan is sold by the sending domain, 50 emails a day each, at $25 a domain for 30 days, charged now and again at the start of every period. New mailboxes start slowly and reach full speed in about 6 days (see ready_per_day): until they can carry what your account may send on the shared pool, your campaigns keep sending there, within its usual daily limit, and from then on only from your own, up to the plan's volume. Without confirm: true this only quotes the price and changes nothing. To grow a plan, ask for the larger volume: a new period starts at the new size, and the unused part of the current one is credited back. A plan cannot shrink while it runs. Needs an account that has sent on the shared pool for at least 7 days and 200 emails, with few bounces and no complaints. A test key only gets the quote.
- Billing:
email_dedicated_domain$25: one sending domain of your own for 30 days, charged withconfirm: trueand again at the start of every period. Without it the call only quotes, for 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 |
|---|---|---|---|
daily_volume | integer | yes | The emails a day you want to send from mailboxes of your own, 200 to 5000. Rounded up to whole domains of 50. |
confirm | boolean | no | True starts or grows the plan and charges its first period. False, the default, only quotes it. Default: false. |
max_cost | number | no | Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged. |
Response
Errors are described in Errors.
| Field | Type | Description |
|---|---|---|
data | object | The plan and its price. |
data.confirmed | boolean | True when the plan was started or grown. False on a quote: nothing changed. |
data.daily_volume | integer | The emails a day the plan is for. |
data.domains | integer | Sending domains of your own, at 50 emails a day each. |
data.price_per_period | number | What one period of 30 days costs, in US dollars. |
data.credit | number | What the unused part of your current period gives back to your balance when the plan grows, in US dollars. 0 otherwise. |
data.capacity | object | Your capacity after this call. |
data.capacity.type | shared | dedicated | shared while your emails leave from mailboxes other customers write from too, dedicated while you have a plan of mailboxes of your own. |
data.capacity.daily_limit | integer | The most emails this account sends in a day, across all its campaigns. |
data.capacity.sent_today | integer | Emails sent since midnight UTC. |
data.capacity.price_per_email | number | What one email sent costs now, in US dollars. |
data.capacity.dedicated | object | null | Your dedicated plan. Null when you never had one. |
data.capacity.dedicated.status | active | grace | ended | active, grace while a period could not be paid (it ends at grace_until unless the balance is topped up), or ended. |
data.capacity.dedicated.daily_volume | integer | The emails a day the plan is for. |
data.capacity.dedicated.ready_per_day | integer | What your own mailboxes can send today. New mailboxes start slowly and reach full speed in about a week. Your campaigns send from them once this is as much as the account may send on the shared pool, or as the plan is for. |
data.capacity.dedicated.price_per_period | number | What one period of 30 days costs, in US dollars. |
data.capacity.dedicated.period_start | string | When the current period started, as an ISO 8601 time in UTC. |
data.capacity.dedicated.period_end | string | When it ends, and the next one is charged, as an ISO 8601 time in UTC. |
data.capacity.dedicated.renews | boolean | Whether the next period is charged and the plan goes on. |
data.capacity.dedicated.grace_until | string | null | With grace: when the plan ends unless the period is paid. Null otherwise. |
data.capacity.commitments | object[] | Sending capacity added for your campaigns, still being used up. Each email sent uses up its part; what is left at due_at is charged. |
data.capacity.commitments[].campaign_id | string | The campaign the capacity was added for. |
data.capacity.commitments[].emails | integer | The emails committed to. |
data.capacity.commitments[].emails_sent | integer | How many of them were sent. |
data.capacity.commitments[].held | number | What is still set aside for the rest, in US dollars. |
data.capacity.commitments[].due_at | string | When what is still held is charged, 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 | What this call was charged, and the balance left. |
usage.cost | number | What this call cost, in US dollars. |
usage.breakdown | object[] | Every billing unit that came back, charged or not. Empty when nothing did. |
usage.breakdown[].unit | email_sent | email_sent_dedicated | email_capacity | email_dedicated_domain | What is counted. |
usage.breakdown[].records | integer | How many were returned and charged. |
usage.breakdown[].already_paid | integer | How many more were returned for free, because this organization paid for them in the last 30 days. |
usage.breakdown[].cost | number | What they 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/capacity \
-H "Authorization: Bearer $WON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"daily_volume": 400,
"confirm": true
}'{
"data": {
"confirmed": true,
"daily_volume": 400,
"domains": 8,
"price_per_period": 200,
"credit": 0,
"capacity": {
"type": "dedicated",
"daily_limit": 500,
"sent_today": 112,
"price_per_email": 0.01,
"dedicated": {
"status": "active",
"daily_volume": 400,
"ready_per_day": 0,
"price_per_period": 200,
"period_start": "2026-11-21T10:02:00.000Z",
"period_end": "2026-12-21T10:02:00.000Z",
"renews": true,
"grace_until": null
},
"commitments": [
{
"campaign_id": "cmp_7p1q8w3e5r4k2m9x",
"emails": 1500,
"emails_sent": 620,
"held": 26.4,
"due_at": "2026-12-14T08:40:00.000Z"
}
]
}
},
"notice": null,
"usage": {
"cost": 200,
"breakdown": [
{
"unit": "email_dedicated_domain",
"records": 8,
"already_paid": 0,
"cost": 200
}
],
"balance": 248.08,
"replayed": false
}
}A test key (won_test_...) runs this in the sandbox: nothing is sent and nothing is charged.