MailMasker API
Claude Code
Domains and DNS

Turn sending on or off for an extra address

PATCH/api/v1/domains/mail-aliases/:source_pattern

Who can use this: Site adminsAs Markdown

Only sending changes: mail to the address reaches the account either way, so this can suspend sending without breaking delivery.

Parameters

NameWhereWhat it is
source_pattern required path The exact address, or @ and a domain, as the list shows it. The @ may be sent as it is or as %40.e.g. sales@example.com
send_enabled required body true to allow sending from it, false to stop it.e.g. false

Good to know

  • An address that isn't on the list answers 404.