- What's new
Easier and Faster Implementation with Our Updated SDKs
Recently, we’ve been working on our newest API to make it easier for customers to automate their email. After working with a select set of alpha customers, today we’re ready to extend the API to a larger group of beta testers. So, say hello the Domains API.
Many of our customers are buildings applications on top of Mailgun that allow their end customers to send email. Since you can operate multiple domains in a single Mailgun account, one of the things these customers can do is isolate one customer from another so that they each have their own whitelabel domain, their own sending queue, and their own SPF & DKIM records. Each customer’s sending reputation is also isolated, so if one customer gets the bad idea to buy an email list and send out spam, Mailgun can disable just that domain to protect your repuation, leaving other customers unaffected.
If you don’t want to give each customer their own domain, you could create buckets of domains for customers and manage reputation isolation that way. For example, you can have one domain that you use to send our your own transactional email and three buckets for your customers that you want to isolate. For example:
My transactional email: “myapp.com”
My new customers: “subnet1.myappmail.com”
My verified transactional customers: “subnet2.myappmail.com”
My verified bulk sending customers: “subnet3.myappmail.com”
Before the Domains API, each of these domains had to be created manually through the Mailgun control panel. That’s ok if you only have four domains like in this example, but what about if you have 4000? That’s a lot of clicking. Enter the Domains API…
With our newest API, you can do the following programmatically:
Retrieve list of domains: Returns list of domains under your account in JSON.
Retrieve details about a particular domain: Returns details for a single domain, including SMTP credentials and DNS records.
Create a new domain
Delete a domain
We are still finalizing pricing for when the Domains API is released in general availability, but our current thinking is to charge a reasonable per-domain fee. We welcome feedback on this and we will keep our beta-testers well informed of the final pricing details prior to general availability.
If you want to test out the Domains API, or provide feedback on anything else, just email domains-api@mailgun.net. We’ll give you access and give you the documentation so you can start managing your own domains programmatically.
Please let us know what else you would like to see in the Domains API and thank you to everyone who has already provided feedback.
Happy emailing, The Mailgunners
Last updated on August 28, 2019
Easier and Faster Implementation with Our Updated SDKs
The Difference Between SMTP and API
Catch-All Domain Support Is Now Available In Email Validations
The Basics of Email Subdomains
The Science and Art of Gmail Deliverability
When Should You Use An Email API?
Inbox Placement - Delivery Made Simple
Quick Tips to Getting Started with Mailgun
Together At Last: Postman Meets Mailgun
Same API, New Tricks: Get Event Notifications Just In Time With Webhooks
Easier and Faster Implementation with Our Updated SDKs
We stand with the AAPI community
The Difference Between SMTP and API
The Basics of Email Dark Mode
COVID-19 Survey: How the Pandemic Has Affected Email Sending
Mailgun Validations Features Improved Performance for EU Customers
International Women’s Day: How Pathwire’s Female Leaders Choose To Challenge
The Top Email Clients and Email Apps of 2021
How To Build An Email List The Right Way
The Path To Email Engagement In 2021: Key Learnings
We stand with the AAPI community
The Difference Between SMTP and API
The Basics of Email Dark Mode
Preparing Your Email Infrastructure Correctly
4 Tips To Improve Your Email Deliverability In 2020
COVID-19 Email Communications Dos and Don’ts
How To Use Parallel Programming
Mailgun’s COVID-19 Plan of Action
Password Meters Are Not For Humans
Send Your Emails at the Perfect Time with Send Time Optimization
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.