v1 is deprecated. Please move to API v2 (recommended). v1 keeps working until March 31, 2027, then it stops. See Moving from v1.

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.

POSThttps://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

  • Authorizationstringrequired

    Bearer <your API token>. The token needs Read and write access.

  • Idempotency-Keystringoptionalat most 255 characters

    Any 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_idstringrequired

    Your workspace id (org_...). Must be a workspace this token was made for.

Body

  • domainsobject[]required1 to 70 items

    The 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 (otherwise 400 invalid_order).

    Show child fields
    • idstringrequired1 to 64 characters

      The id from GET /pre-warm-inboxes.

    • domainstringrequired1 to 253 characters

      The domain of that listing. Must match it (case is ignored).

    • redirectstringoptionalat most 2048 characters

      Where 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 or null is refused.

  • sequencerobjectoptional

    The sending tool our team should connect the mailboxes to.

    Show child fields
    • providerenumrequired

      Your sending tool. Case, spaces, - and _ are ignored (emailbison = Email Bison).

      One of: Pipl Smartlead Instantly Email Bison ListKit PlusVibe Lemlist Apollo Saleshandy Mailreach Salesforge Reply Supersend Za-Zu Clay Other

    • usernamestringrequired1 to 254 characters

      Login of that account.

    • passwordstringrequired1 to 500 characters

      Password of that account.

    • linkstringoptional1 to 500 characters

      Login page of the tool. Must not be empty when sent.

    • workspacestringoptional1 to 100 characters

      Workspace in that tool. Must not be empty when sent.

    • tagstringoptional1 to 60 characters

      Tag 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 characters

      The tool's API key, if you have one.

  • tagstringoptionalat most 60 characters

    Your own tag for the order. Up to 60 characters after spaces at the ends are removed (400 tag_too_long above that).

Response (200)

  • message"Pre-warm order created successfully"required
  • order_idstringrequired

    The new order (sub_...). Use it with GET /orders/:uuid.

  • amount_chargednumberrequired

    Total 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 domain doesn't match the id, the text starts The 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. domains is missing or empty, has more than 70 entries, an entry lacks id or domain, an id is sent twice (duplicate_domains), or a redirect is not a web address.
  • 400Invalid sequencer. sequencer lacks provider, username or password, has an empty link / workspace / tag, a field is too long, api_key is not text, or provider is not in the list. No code is sent here (validSequencers only with Invalid sequencer). Details refused later answer Invalid 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. tag is longer than 60 characters after spaces at the ends are removed (tag_too_long). Above 320 characters the text is Tag exceeds maximum length of 320 characters with code: "invalid_request".
  • 400Invalid Idempotency-Key. The Idempotency-Key header is longer than 255 characters.
  • 400Sold while paying. A domain was sold between the stock check and the charge. unavailableDomains lists the listing ids (it can be empty). Nothing is charged.
  • 402Card declined. The bank refused the payment (card_declined), or the card needs a check by its owner that an API call can't do (card_requires_action). The message is the bank's reason. Nothing is charged. Retry with a new Idempotency-Key.
  • 402Earlier call failed. An earlier call with the same Idempotency-Key did 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_scope), or the person who made it is not an owner or admin of the workspace (not_allowed).
  • 409In progress. A call with the same Idempotency-Key is still running. Wait a moment and send it again.
  • 429Rate limited. More than 15 buy calls in a minute. Wait for the Retry-After seconds.
  • 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-After seconds and try again with the same Idempotency-Key.
  • 500Paid, not finished. The card was charged and the order created, but its domains and mailboxes could not be saved (order_form_failed, with details.order_id), or something else failed after the charge (needs_team). Our team was told. Don't retry with a new Idempotency-Key.
  • 500Server error. Something went wrong on our side. Check GET /orders before you retry, and retry with the same Idempotency-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.