New Templates Experience
Mailgun has expanded the Mailgun Templates API with a series of quality-of-life improvements, including the debut of account-level templates. These improvements give you more flexibility and control over how you manage and send templates across your account.
Key updates include:
- Domain-level template improvements:Â The domain-level templates API now includes search, pagination, rename, and copy functions, making it easier to manage large libraries of templates at the domain level.Â
- Account-level templates:Â You can now create and manage templates at the account level, allowing a single template to be used across any of your sending domains. This is the most flexible way to manage your template library and comes with the same quality-of-life functions: search, pagination, rename, and copy.Â
- New Template ID: Both domain-level and account-level templates now include a unique template ID that can be used interchangeably with the template name when referencing a template during sending. This is especially useful if you rename a template — your code referencing the ID won’t need to change.Â
These updates reduce friction in template management and make the Templates API more robust for teams working across multiple domains.