Orders
List packages
List the inbox packages you can buy, with their prices in US dollars. Each id is the price id you pass to POST /create-order/:price_.
https://server.scaledmail.com/api/v1/packages- Token access
- Read
- Rate limit
- 120 read calls per minute per token
No organization_ is needed, and one you send is ignored: the list is always for the workspace the token was made in, including any custom prices on your account.
Accounts billed on their own subscription see only their own prices (tier = direct).
Headers
AuthorizationstringrequiredBearer <your API token>. The token needs Read access.
Response (200)
totalintegerrequiredHow many packages are listed.
packagesobject[]requiredThe packages you can buy: custom ones first, then Starter, Low, Medium and High sending.
ShowHide child fields
idstringrequiredThe price id (
price_). Use it in. . . POST /create-order/:price_.id tierenumrequiredWhich group the package is in.
custom= prices made for your account,direct= accounts whose orders are added to their own subscription and billed on the next invoice.One of:
customstarterlow-sendingmedium-sendinghigh-sendingdirectmode"subscription"requirednamestringrequiredPackage name, e.g.
SM - GoogleorSM MS 50% - SM Google 50%. Per-inbox Google prices (custom/direct) are calledGoogle Inboxes. Othercustomprices are always calledSM - Microsoft, whatever they hold, so read thegoogle/microsoft/smtpparts to see what is in them. Otherdirectprices areSM - MicrosoftorSM - SMTP.pricenumberrequiredPrice per month of the package as listed, in US dollars. On a
directGoogle package it is the price of one inbox (same asmailbox.).per domainsintegerrequiredDomains in the package (all providers together).
mailboxobjectoptionalOnly on Google per-inbox cards (
custom/direct): the inboxes-per-domain choice.ShowHide child fields
defaultintegerrequiredInboxes per domain if you don't choose.
optionsinteger[]requiredInboxes per domain you may choose.
pernumberrequiredPrice per inbox, in US dollars.
googleobjectoptionalOnly when the package has Google inboxes.
ShowHide child fields
mailboxintegerrequiredGoogle inboxes.
domainsintegeroptionalGoogle domains (per-inbox cards only).
defaultintegeroptionalSame as
mailbox..default optionsinteger[]optionalSame as
mailbox..options
microsoftobjectoptionalOnly when the package has Microsoft inboxes.
ShowHide child fields
mailboxintegerrequiredMicrosoft inboxes.
domainsintegerrequiredMicrosoft domains.
smtpobjectoptionalOnly when the package has SMTP inboxes.
ShowHide child fields
per_domainintegerrequiredSMTP inboxes per domain.
mailboxintegerrequiredSMTP inboxes.
domainsintegerrequiredSMTP domains.
frequency"/monthly"required
Responses
- 200OK. Always, when the token is valid.
- 401No token. The
Authorizationheader is missing or notBearer <token>. - 429Rate limited. More than 120 read calls in a minute. Wait for the
Retry-Afterseconds. - 500Server error. The list could not be loaded. Try again; if it keeps failing, send the
requestIdto support.
