š” Not sure how to structure your providers?
Use the Calculate Package endpoint to preview exactly what your order will cost and how the providers/domains should be broken down ā before committing to a charge.
ā Calculate Package
provider (required)"scaledmail" ā Domains purchased through ScaledMail"other" ā Domains from external providers like Porkbun, Namecheap, or DNSimplecoupon (optional)organization_id (optional)tag (optional)providers (required)domains array. Pricing is calculated automatically from whatever you include here."google", "outlook", "smtp"google ā 100, outlook ā 30, smtp ā 70"providers": {
"google": {
"domains": [ ... ]
},
"outlook": {
"domains": [ ... ]
},
"smtp": {
"domains": [ ... ]
}
}domain (required)"example.com"redirect (optional)"profile_picture": "https://link1.com"profile_picture inside each alias to override it.ā ļø All domains within the same provider must use the same format. You cannot mix first_name/last_nameandaliasesacross domains in the same provider.
first_name and last_name"first_name": "John",
"last_name": "Doe"aliases array directly"aliases": [
{
"first_name": "John",
"last_name": "Doe",
"alias": "john.doe",
"profile_picture": "https://link1.com"
}
]aliases array is provided, the system will not auto-generate aliases.first_name, last_name, and alias.alias must be the local part only (e.g. "john.doe") ā no @ symbol, no spaces. Maximum 64 characters.| Provider | Required aliases per domain |
|---|---|
google | 2 |
outlook | 25 |
smtp | 4 |
sequencer (optional)"sequencer": {
"provider": "Instantly",
"username": "user@instantly.ai",
"password": "yourpassword",
"link": "https://app.instantly.ai",
"workspace": "my-workspace",
"tag": "{{ID}}"
}provider, username, password are required.link, workspace, tag are optional but cannot be empty if provided.hosting (conditionally required)provider = "other"."hosting": {
"provider": "Namecheap",
"username": "your-username",
"password": "your-password",
"link": "https://namecheap.com"
}provider, username, password are required.link is optional but cannot be empty if provided."scaledmail" as the provider.curl --location 'https://server.scaledmail.com/api/v1/create-custom-order?organization_id=undefined&provider=undefined&coupon=undefined' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"tag": "google_only",
"providers": {
"google": {
"domains": [
{
"domain": "outreach-one.com",
"first_name": "John",
"last_name": "Doe"
},
{
"domain": "outreach-two.com",
"first_name": "Jane",
"last_name": "Smith"
}
]
}
}
}'{}