Type to search endpoints, fields, error codes and guides.
Orders
Create pre-warmed order
Buy warmed-up domains with their mailboxes, picked from GET /prewarmed-inventory. The workspace's saved card is charged right away (a sub-workspace uses its main workspace's card).
Every call charges the card. If a call times out, look in GET /orders before you try again.
Everything is checked before charging: a 4xx answer means nothing was charged.
Billed monthly; the mailboxes keep their warmed-up names. Add-ons (masking, reporting) can be added; no promotion codes.
Headers
Authorizationstringrequired
Bearer <your API token>. Tokens start with sm_live_.
Workspacestringrequired
The workspace id to act on (from GET /workspaces or Settings › API tokens). Required on every call except the /workspaces calls; without it: 400workspace_required.
Body
domainsobject[]required1 to 70 items
The pre-warmed domains to buy. At most 35 Google and 35 Outlook (too_many_domains); all domains of one provider must have the same number of mailboxes (mailbox_count_mismatch). The mailboxes keep their warmed-up names and addresses.
ShowHide child fields
namestringrequired1 to 253 characters
The domain name, as domain in GET /prewarmed-inventory, like demo-domain-1.com. Each name only once (duplicate_domains). Sold or not in the list: 422inventory_unavailable.
redirect_urlstringoptional1 to 2048 characters
Where visitors of the domain's website go, like demo-domain-9.com. Left out = no forwarding. Not a valid web address: 400invalid_redirect_url. Not with masking (parameter_not_allowed).
masking_targetstringoptional1 to 253 characters
With the masking add-on: the main domain this domain is masked behind, like demo-domain-9.com. Required on every domain then (masking_target_required); not allowed without it (masking_add_on_required). A subdomain or the domain itself answers masking_target_invalid.
add_onsenum[]optionalat most 2 items
masking: Domain Masking for every domain (each needs masking_target). reporting: deliverability reports for every provider in the order. Each once (duplicate_add_ons). Billed monthly with the order.
connectionsobjectoptional
Your sending tool login, so we can connect the mailboxes. Write-only: never returned by any call.
ShowHide child fields
sending_toolobjectoptional
The sending tool we add the new mailboxes to.
ShowHide child fields
providerenumrequired
Your sending tool. Case, spaces, - and _ are ignored (Email Bison = email_bison); a name not in the list answers invalid_value. The full list: Get started › Sending tools and registrars.
One of: piplsmartleadinstantlyemail_bisonlistkitplusvibelemlistapollosaleshandymailreachsalesforgereplysupersendza_zuclayother
usernamestringrequired1 to 254 characters
Login for that tool.
passwordstringrequired1 to 500 characters
Password for that login.
login_urlstringoptional1 to 500 characters
The login page. If you send it, it can't be empty.
workspacestringoptional1 to 100 characters
The workspace in the tool to add the mailboxes to.
tagstringoptional1 to 60 characters
Tag for the mailboxes in the tool. {{ID}} becomes the new order's id.
api_keystringoptionalat most 500 characters
The tool's API token, if you have one.
tagstringoptionalat most 60 characters
Your label for the order, shown in the app. Spaces at the ends are removed.
Response (200)
idstringrequired
The new order (ord_...).
statusenumrequired
provisioning: paid; domains and mailboxes are being set up.
One of: provisioning
tagstringoptional
Your label for the order. Only when you sent one.
domain_countintegerrequired
Domains on the order, all providers.
recurring_amountnumberrequired
What the order renews for each period, in US dollars.
amount_chargednumberrequired
What this call charged, in US dollars: the first billing period plus one-time costs such as domain registration.
Responses
201Created. The card was charged and the order is placed. Follow it with GET /orders/:id.
400Invalid input. A field is missing, unknown or not valid (validation_failed); subdomains sent (subdomains_not_supported: pre-warmed orders have none); the same domain twice (duplicate_domains); more than 35 domains of one provider (too_many_domains); or the domains of one provider have different mailbox counts (mailbox_count_mismatch); an add-on twice (duplicate_add_ons); a masking rule broken (masking_target_required, masking_add_on_required, masking_target_invalid, parameter_not_allowed); the sending_tool login is not valid (invalid_order). Nothing is charged.
402Payment failed. The bank declined the card (card_declined). Other codes: no_payment_method (no saved card; add one in the app under Billing), authentication_required (the card needs 3-D Secure; pay once in the app), payment_failed. Nothing is charged.
403Not allowed. The token was made without Can buy (missing_scope); the person who made the token may not place orders here (role_not_allowed); or the workspace is billed by invoice (not_available_for_account: contact support).
422Sold. A domain was sold or is not in your inventory list (inventory_unavailable, param names the entry, or domains when found while charging). Nothing is charged.
429Rate limited. More than 20 purchase calls in a minute with this token (rate_limited). Wait for the Retry-After seconds. Also rate_limited when too many orders were started in a short time.
500Paid, not saved. The payment went through but the order could not be read back (needs_team) or saved (order_form_failed). Our team was told and finishes or refunds the order. Don't send it again. server_error for an unexpected failure.
503Not available. Payments are not available right now (not_available), or the server is busy (busy, with Retry-After). Nothing changed; try again later.
Like every call, it can also answer 401 (bad key), 400workspace_required, 403workspace_not_allowed. See Errors.