Mailboxes
Get mailbox
Read one mailbox by its address. Cancelled mailboxes are found too.
https://api.scaledmail.com/v2/mailboxes/:email- Rate limit
- Read: 300 calls per minute per token
Path parameters
emailstringrequiredat most 320 charactersThe mailbox address, like
jane@demo-domain-1.(case is ignored).com
Headers
AuthorizationstringrequiredBearer <your API token>. Tokens start withsm_.live_ WorkspacestringrequiredThe workspace id to act on (from
GET /workspacesor Settings › API tokens). Required on every call except the/workspacescalls; without it:400workspace_.required
Query parameters
includeenumoptionalcredentials= add the login and password of each mailbox (the token's creator must have a role that may see passwords). Any other value answers400invalid_.value One of:
credentials
Response (200)
emailstringrequiredThe full address,
alias@domain. A mailbox is found by its address (GET /mailboxes/:email).first_namestringrequiredSender first name.
last_namestringrequiredSender last name.
domainstringrequiredThe domain name.
subdomainstringoptionalThe subdomain the mailbox is on, e.g.
mail.. Only for mailboxes on a subdomain order; left out when it is on the domain itself.demo-domain-1. com order_idstringrequiredThe order this mailbox is on (
ord_).. . . providerenumrequiredWhere the mailbox is hosted.
One of:
googleoutlooksmtpstatusenumrequiredsetting_= being created.up active= ready to send (an open change request shows on its domain,GET /domains).cancelling= its order is ending.cancelled= gone.One of:
setting_upactivecancellingcancelledcredentialsobjectoptionalOnly with
include=credentialsand a token creator whose role may see passwords. Left out otherwise.ShowHide child fields
usernamestringrequiredThe login, the same as
email.passwordstringrequiredThe password. All mailboxes of a domain share one password. Empty when the domain has no password saved yet.
created_atstringrequiredWhen the mailbox was added, as a date:
YYYY-MM-DD(UTC).
Responses
- 200OK. The mailbox. Without
include=credentials, so nocredentials. - 400Invalid input.
includeis notcredentials. - 403Not allowed. The token can't use the workspace in
Workspace(workspace_).not_ allowed - 403Role can't see passwords.
include=credentialsis sent, but the token creator's role in this workspace may not see mailbox passwords. - 404Not found. No such mailbox in this workspace. A mailbox of another workspace looks the same.
- 429Rate limited. More than 300 read calls in a minute. Wait for the
Retry-Afterseconds.
Like every call, it can also answer 401 (bad key), 400 workspace_, 403 workspace_. See Errors.
