- Quick tips
How to Improve Holiday Supply Chain Communication with Email
We usually publish a weekly update on Friday, but this week, we didn’t want to wait till then to tell you what you can start doing with Mailgun today. We’ve just released our new beta webhook API so that you can programmatically manage webhooks for all your domains! Our new webhook API, now in private beta, comes on the heels of two other much-requested webhooks features: domain-level webhooks and easy testing of webhook endpoints. Read on for the details, and email us at beta@mailgun.net if you’d like to gain access to try it out.
The new Webhooks API is available for the following events and allows you to perform the following operations.
deliver
bounce
drop
spam
unsubscribe
click
open
Available operations
List webhooks for an account
Return detail for a single webhook
Create new webhook
Update existing webhook
Delete existing webhook
The new webhooks API was created to extend the functionality that we introduced a couple of weeks ago with the new Domains API, also in private Beta. Together, these new APIs let you set up and manage large scale applications that let your own end customers send completely white-labeled emails via your platform. For instance, let’s say you have a new CRM app that lets your customers email their sales prospects. With our new Domains and Webhooks API, you can:
Create a new domain for each customer (e.g. email.example1, email.example2.com, etc)
Retrieve DNS records in order to send properly authenticated emails
Retrieve SMTP credentials for each domain
Set up webhooks endpoints to track email activity for reporting
You can use either SMTP or the HTTP API to send emails. For tracking we offer both push (webhooks) and pull (APIs) methods to access the data. If you would like us to post the data to your URL as it happens, here are some specific examples of additional things that you can do when webhooks are enabled:
Tie email data to custom data you have stored in your main customer database
We hope you enjoy using our new Beta APIs. Email us at beta@mailgun.net if you’d like access and please, let us know what you think.
Happy emailing,
The Mailgunners
Learn about our Deliverability Services
Looking to send a high volume of emails? Our email experts can supercharge your email performance. See how we've helped companies like Lyft, Shopify, Github increase their email delivery rates to an average of 97%.
Last updated on August 28, 2020
How to Improve Holiday Supply Chain Communication with Email
What Is a RESTful API, How It Works, Advantages, and Examples
Email’s Not Dead Season 3 Is Finally Here
Continuing Our Commitment: HTTPS Innovation And Optimization
Your Guide To Webhooks
Easier and Faster Implementation with Our Updated SDKs
The Difference Between SMTP and API
When Should You Use An Email API?
Inbox Placement - Delivery Made Simple
Together At Last: Postman Meets Mailgun
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
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.