Mailboxes
Suggest aliases
Make sender addresses (jane., janedoe, jdoe ...) from a first and last name. Nothing is saved.
https://api.scaledmail.com/v2/alias-suggestions- Rate limit
- Read: 300 calls per minute per token
Accents are made plain: Zoë O'Neil gives zoe..
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
Body
first_namestringrequired1 to 64 charactersFirst name, 1 to 64 characters: letters (accents are fine), spaces,
',.and-.last_namestringrequired1 to 64 charactersLast name, same rules as
first_.name domainstringoptionalat most 253 charactersA domain name, up to 253 characters (made lower case). Addresses already used by this workspace's mailboxes on it are skipped. Gives full addresses in
email. It is not checked to be one of your domains.countintegeroptional1 to 100How many aliases you want. Default 10.
Response (200)
dataobject[]requiredThe aliases, always in the same order for the same name.
ShowHide child fields
aliasstringrequiredThe part before the
@, lower case: onlya-z,0-9,.,_and-.emailstringoptionalalias@domain. Only when you sent adomain.
Responses
- 200OK. The first 3 aliases that no mailbox on demo-domain-1.com uses yet.
- 400Invalid input. A name is missing, empty, too long or has characters other than letters, spaces,
',.and-, orcountis not 1 to 100. Every problem is listed inerrors(each withcodeinvalid). If no alias can be made from the names:validation_withfailed paramfirst_.name - 403Not allowed. The token can't use the workspace in
Workspace(workspace_).not_ allowed - 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.
