Skip to content

Aliases

AliasesService provides operations for managing aliases.

Base path: /aliases

ListAccountAliases lists all aliases (receiving addresses) for an account.

Request (ListAccountAliasesRequest)

FieldTypeDescription
accountIdstring

Response (ListAccountAliasesResponse)

FieldTypeDescription
aliasesAlias[]

CreateAlias creates a new alias for an account (validates domain is configured).

Request (CreateAliasRequest)

FieldTypeDescription
accountIdstringaccount_id: Account to create the alias for.
localPartstringlocal_part: The part before the @ sign (e.g. “support” for support@example.com).
domainIdstringdomain_id: Domain for the alias (must be a configured and verified sending domain).
isActivebool?is_active: If false, incoming mail to this alias will be rejected. Default true.
isVisiblebool?is_visible: If false, this alias will not appear in UI sender picker lists. Default true.
canSendFrombool?can_send_from: If true, this alias can be used as From address. Default false.
namestring?name: Display name shown in the From header (e.g. “Support Team”).
bccstring?bcc: Address added as BCC on every email sent from this alias.

Response (CreateAliasResponse)

FieldTypeDescription
aliasAlias

UpdateAlias updates alias properties (IsActive, IsVisible).

Request (UpdateAliasRequest)

FieldTypeDescription
aliasIdstringalias_id: The alias to update.
isActivebool?is_active: Set to false to stop accepting mail to this alias.
isVisiblebool?is_visible: Set to false to hide this alias from UI sender picker lists.
canSendFrombool?can_send_from: Update whether this alias can be used as a From address.
namestring?name: Update the From header display name.
bccstring?bcc: Update the always-BCC address.

Response (UpdateAliasResponse)

FieldTypeDescription
aliasAlias

DeleteAlias deletes an alias (can delete primary aliases).

Request (DeleteAliasRequest)

FieldTypeDescription
aliasIdstring

Response (DeleteAliasResponse)

No fields.