Skip to Content
Won.dev

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 with confirm: true and 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.

ParameterTypeRequiredDescription
daily_volumeintegeryesThe emails a day you want to send from mailboxes of your own, 200 to 5000. Rounded up to whole domains of 50.
confirmbooleannoTrue starts or grows the plan and charges its first period. False, the default, only quotes it. Default: false.
max_costnumbernoSpending 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.

FieldTypeDescription
dataobjectThe plan and its price.
data.confirmedbooleanTrue when the plan was started or grown. False on a quote: nothing changed.
data.daily_volumeintegerThe emails a day the plan is for.
data.domainsintegerSending domains of your own, at 50 emails a day each.
data.price_per_periodnumberWhat one period of 30 days costs, in US dollars.
data.creditnumberWhat the unused part of your current period gives back to your balance when the plan grows, in US dollars. 0 otherwise.
data.capacityobjectYour capacity after this call.
data.capacity.typeshared | dedicatedshared 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_limitintegerThe most emails this account sends in a day, across all its campaigns.
data.capacity.sent_todayintegerEmails sent since midnight UTC.
data.capacity.price_per_emailnumberWhat one email sent costs now, in US dollars.
data.capacity.dedicatedobject | nullYour dedicated plan. Null when you never had one.
data.capacity.dedicated.statusactive | grace | endedactive, 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_volumeintegerThe emails a day the plan is for.
data.capacity.dedicated.ready_per_dayintegerWhat 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_periodnumberWhat one period of 30 days costs, in US dollars.
data.capacity.dedicated.period_startstringWhen the current period started, as an ISO 8601 time in UTC.
data.capacity.dedicated.period_endstringWhen it ends, and the next one is charged, as an ISO 8601 time in UTC.
data.capacity.dedicated.renewsbooleanWhether the next period is charged and the plan goes on.
data.capacity.dedicated.grace_untilstring | nullWith grace: when the plan ends unless the period is paid. Null otherwise.
data.capacity.commitmentsobject[]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_idstringThe campaign the capacity was added for.
data.capacity.commitments[].emailsintegerThe emails committed to.
data.capacity.commitments[].emails_sentintegerHow many of them were sent.
data.capacity.commitments[].heldnumberWhat is still set aside for the rest, in US dollars.
data.capacity.commitments[].due_atstringWhen what is still held is charged, as an ISO 8601 time in UTC.
noticestring | nullA plain sentence when there is something to know about this answer. Null otherwise.
usageobjectWhat this call was charged, and the balance left.
usage.costnumberWhat this call cost, in US dollars.
usage.breakdownobject[]Every billing unit that came back, charged or not. Empty when nothing did.
usage.breakdown[].unitemail_sent | email_sent_dedicated | email_capacity | email_dedicated_domainWhat is counted.
usage.breakdown[].recordsintegerHow many were returned and charged.
usage.breakdown[].already_paidintegerHow many more were returned for free, because this organization paid for them in the last 30 days.
usage.breakdown[].costnumberWhat they 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/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.

On this page