Scaledmail
  1. Order
Scaledmail
  • Scaledmail API Documentaion
  • Organization
    • Get Organizations
      GET
  • Pre Warm Inboxes
    • Pre Warm Inboxes
      GET
    • Buy Pre Warm Inboxes
      POST
  • Domain
    • Get Domains
      GET
    • Get Purchased Domains
      GET
    • Search Domains
      POST
    • Buy Domains
      POST
    • Update Domain Name
      POST
    • Update Domain Redirect
      POST
  • Package
    • Get Packages
      GET
  • Order
    • Get Order Details
      GET
    • Create Order
      POST
    • Get Orders
      GET
    • Cancel Order
      DELETE
  • Mailboxes
    • Get Mailboxes by Domain ID
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Order

Create Order

POST
https://server.scaledmail.com/api/v1/create-order/{price_id}

āš ļø Requires a connected payment method#

A subscription will be created automatically upon a successful request.

šŸ”‘ Query Parameters#

price_id (required)#

The ID of the package you want to purchase.
→ Retrieve valid price_id values from the /packages endpoint.

provider (required)#

Specifies the source of the domains:
→ "scaledmail" — Domains purchased through ScaledMail
→ "other" — Domains from external providers like Porkbun, Namecheap, or DNSimple

šŸ“„ Request Body Parameters#

All parameters below must be included in the JSON body.

quantity (optional)#

The number of package units you want to purchase.
Default: 1
You can increase it if you need multiple units of the same package.

domains (required)#

An array of domain objects to assign to the package.
→ Get available domains from /purchased-domains.
→ The number of domains must exactly match the domain count required by the selected package.
→ If any domain is already used or unavailable, the request will fail.
Each domain object can include:

domain (required)#

Example: "example.com"

redirect (optional)#

A redirect URL for the domain.

Profile Picture Options#

You may include:
"profile_picture": "link1.com"
If added at the domain level, this image will be used for all aliases created under that domain.
You may also specify a different profile_picture inside each alias.

šŸ‘¤ Aliases Handling#

You now have two ways to provide alias information:

1. Pass first_name and last_name#

If you include:
"first_name": "John",
"last_name": "Doe"
→ The system will automatically generate aliases for this domain.

2. Pass an aliases array directly#

If you already have pre-generated aliases, you can send them like this:
"aliases": [
  { 
    "first_name": "User1",
    "last_name": "Test",
    "alias": "alias1",
    "profile_picture": "link1.com"
  }
]
→ When the aliases array is provided, the system will not auto-generate aliases.
→ You are free to include custom names, aliases, and profile pictures.

hosting (conditionally required)#

Required only when provider = "other".
Must include the relevant:
SMTP/IMAP credentials
DNS configuration
Account credentials
Any required verification details
Not required when using "scaledmail" as the provider.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Body Params text/plain
Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://server.scaledmail.com/api/v1/create-order/?organization_id&provider&coupon' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{
  "hosting": {
    "provider": "Hosting Provier Name Here",
    "username": "username",
    "password": "password"
  },
  "sequencer": {
    "provider": "Sequencer Name Here",
    "username": "username",
    "password": "password"
  },
  "domains": [
    {
      "domain": "scaledmail.net",
      "first_name": "Dean",
      "last_name": "Fiacoo",
      "redirect": "scaledmail.com"
    },
    {
      "domain": "scaledmail.us",
      "first_name": "Dean",
      "last_name": "Fiacoo"
    },
    {
      "domain": "scaledmail.org",
      "first_name": "Dean",
      "last_name": "Fiacoo"
    },
    {
      "domain": "scaledmail.io",
      "first_name": "Dean",
      "last_name": "Fiacoo"
    }
  ]
}'
Response Response Example
{}
Modified atĀ 2026-01-12 12:47:01
Previous
Get Order Details
Next
Get Orders
Built with