Mailboxes
Buy pre-warm inboxes
Buy pre-warmed domains from stock, charged to the workspace's saved card. This creates one new monthly order with the domains and their warmed-up mailboxes; you don't fill in an order form.
https://server.scaledmail.com/api/v1/buy-pre-warm-inboxes- Token access
- Read and write
- Rate limit
- 15 buy calls per minute per token
This call charges your saved card right away. Always send an Idempotency-Key: if your call times out and you retry without one, you pay twice.
The mailboxes keep their warmed-up names and addresses. Call GET /pre-warm-inboxes first: a domain sold in the meantime is refused, and nothing is charged.
Headers
AuthorizationstringrequiredBearer <your API token>. The token needs Read and write access.Idempotency-Keystringoptionalat most 255 charactersAny unique text per purchase (a UUID works), at most 255 characters. Send the same key again with the same token and you get the first result back, with no second charge.
Query parameters
organization_idstringrequiredYour workspace id (
org_). Must be a workspace this token was made for.. . .
Body
domainsobject[]required1 to 70 itemsThe pre-warmed domains to buy, no id twice. At most 35 Google and 35 Outlook domains, and all domains of one kind must have the same
emailMailboxCount(otherwise400 invalid_).order ShowHide child fields
idstringrequired1 to 64 charactersThe
idfromGET /pre-warm-inboxes.domainstringrequired1 to 253 charactersThe
domainof that listing. Must match it (case is ignored).redirectstringoptionalat most 2048 charactersWhere visitors of the domain should go, like
demo-domain-9..com/page https://is optional; without it at most 253 characters. Leave the field out for no redirect: an empty value ornullis refused.
sequencerobjectoptionalThe sending tool our team should connect the mailboxes to.
ShowHide child fields
providerenumrequiredYour sending tool. Case, spaces,
-and_are ignored (emailbison=Email Bison).One of:
PiplSmartleadInstantlyEmail BisonListKitPlusVibeLemlistApolloSaleshandyMailreachSalesforgeReplySupersendZa-ZuClayOtherusernamestringrequired1 to 254 charactersLogin of that account.
passwordstringrequired1 to 500 charactersPassword of that account.
linkstringoptional1 to 500 charactersLogin page of the tool. Must not be empty when sent.
workspacestringoptional1 to 100 charactersWorkspace in that tool. Must not be empty when sent.
tagstringoptional1 to 60 charactersTag for the mailboxes in that tool. Send exactly
{{ID}}to use the new order id as the tag. Must not be empty when sent.api_keystringoptionalat most 500 charactersThe tool's API key, if you have one.
tagstringoptionalat most 60 charactersYour own tag for the order. Up to 60 characters after spaces at the ends are removed (
400 tag_above that).too_ long
Response (200)
message"Pre-warm order created successfully"requiredorder_idstringrequiredThe new order (
sub_). Use it with. . . GET /orders/:uuid.amount_chargednumberrequiredTotal charged to your saved card, in US dollars: the one-time prices plus the first month of the mailboxes.
Responses
- 200OK. The card was charged and the order is created.
- 400Sold. A domain is no longer in stock. If its
domaindoesn't match theid, the text startsThe following domains are not available now:instead. Nothing is charged. - 400No card. The workspace has no saved card. Add one in the app under Billing.
- 400Invalid domains.
domainsis missing or empty, has more than 70 entries, an entry lacksidordomain, anidis sent twice (duplicate_), or adomains redirectis not a web address. - 400Invalid sequencer.
sequencerlacksprovider,usernameorpassword, has an emptylink/workspace/tag, a field is too long,api_is not text, orkey provideris not in the list. Nocodeis sent here (validSequencersonly withInvalid sequencer). Details refused later answerInvalid sequencer details (.with. . ) code: "invalid_.order" - 400Mixed mailbox counts. More than 35 domains of one kind, or domains of one kind with different
emailMailboxCount. Nothing is charged. - 400Tag too long.
tagis longer than 60 characters after spaces at the ends are removed (tag_). Above 320 characters the text istoo_ long Tag exceeds maximum length of 320 characterswithcode: "invalid_.request" - 400Invalid Idempotency-Key. The
Idempotency-Keyheader is longer than 255 characters. - 400Sold while paying. A domain was sold between the stock check and the charge.
unavailableDomainslists the listing ids (it can be empty). Nothing is charged. - 402Card declined. The bank refused the payment (
card_), or the card needs a check by its owner that an API call can't do (declined card_). The message is the bank's reason. Nothing is charged. Retry with a newrequires_ action Idempotency-Key. - 402Earlier call failed. An earlier call with the same
Idempotency-Keydid not go through. Use a new key to try again. - 403Not for this account. The workspace is billed directly (it buys only into its own subscription). Pre-warmed domains can't be bought with the API.
- 403Not allowed. The token has Read access only (
missing_), or the person who made it is not an owner or admin of the workspace (scope not_).allowed - 409In progress. A call with the same
Idempotency-Keyis still running. Wait a moment and send it again. - 429Rate limited. More than 15 buy calls in a minute. Wait for the
Retry-Afterseconds. - 429Too many orders. The person who made the token started more than 30 orders in an hour (orders in the app count too). Nothing is charged.
- 429Busy. Too many orders are being placed at once. Wait for the
Retry-Afterseconds and try again with the sameIdempotency-Key. - 500Paid, not finished. The card was charged and the order created, but its domains and mailboxes could not be saved (
order_, withform_ failed details.), or something else failed after the charge (order_ id needs_). Our team was told. Don't retry with a newteam Idempotency-Key. - 500Server error. Something went wrong on our side. Check
GET /ordersbefore you retry, and retry with the sameIdempotency-Key(a new key could charge twice). - 501Payments off. Paying with a saved card is switched off for a moment. Nothing is charged; try again later.
