Skip to main content
POST
Prices a send from a verified domain you have and locks the sender for /email/send, valid for 1 hour. A quote never registers a domain or creates an address: those are the domain purchase.

Authentication

X-Agent-ID header with your wallet address.

Request body

string
Omit it and rotation picks a domain and locks its main address into the quote; a different address on /email/send returns 400 from_address_mismatch. Pass it to pin one of your addresses: warmup score and daily_send_limit become a warning. Reputation and limits are per domain, shared by all its addresses.
string | string[]
required
One or more recipients; service_fee scales with the count.
string
required
Subject
string
required
Plain text
string
Ignored, with warning: mailbox_mode_ignored. The purchase sets a domain’s mode.

Response

string
Domain of from_address
number
Always 0.
number
Sending cost (USD)
number
Always 0: addresses are bought with the domain.
number
The service fee
string
Quote ID for the send request
string
verified
string
The domain’s mode, relay or mailbox.
string
When you omitted it: the address rotation picked, locked into the quote.
boolean
true when rotation picked the address.
string
pinned_domain_warming (pinned domain still warming), pinned_over_limit (over today’s daily_send_limit) or mailbox_mode_ignored. Advisory; the send proceeds.
string
HTTP 400, nothing charged, with requirements naming the setup:
  • no_sending_domain: reason is not_owned (the domain is not yours), not_verified, empty (no domain) or exhausted (all warming or over cap). Buy one through the purchase.
  • address_not_set_up: from_address is not one of the domain’s addresses. Add it through the purchase with addresses.

Domain rotation

Omit from_address and the server picks your least recently used eligible domain and sends from its default_from. Eligible: you own it, its main address is active, pool_status is active (a warming mailbox domain is paused until its score reaches 75), provisioning_status is verified, warmup_score is 60 or higher, or unmeasured, and daily_sent_count plus the recipient count fits under daily_send_limit today (UTC). A rotation quote counts its recipients toward daily_sent_count at quote time; a rejected quote gives them back, an unsent one holds them until the UTC day rolls over. GET /email/domains lists your pool; pause and resume control rotation.