Mailbox

aliases.add()

mailbox.aliases.add(address) → Promise<Mailbox>

Adds another address that lands in this mailbox. It refreshes the mailbox and returns it.

POSTsame host rulesaddress_taken covers aliases
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

await box.aliases.add("contact@example.com");
box.aliasList;   // updated
box.aliases.add("contact@example.com")
box.alias_list   # updated

The host must be enabled

Like the mailbox's own address: an alias on a host with no mail records has nothing routing it. The refusal names the host.

Taken means taken, mailbox or alias

address_taken covers both

An address that is already a mailbox, or already an alias of another one, is refused. Two routes for one address would be two places a message could land, decided by whichever was checked first.

Reserved names are refused here too

The addresses a domain is expected to answer for cannot be taken as an alias any more than as a mailbox.

Aliases count, separately

usage().aliases counts them, apart from mailboxes — which is what makes an alias the cheap way to hold several addresses.

The routing is created with it

It starts receiving immediately, with no second step.