Allow multiple webhook urls per domain
It would be useful to publish events (opens, clicks, bounces, etc.) to more than one endpoint from Mailgun. Currently, it is only possible to have one webhook url set per domain. This is useful for catching events in your application, but it gets tricky if you work with 3rd party email services in conjunction with Mailgun. For instance, we are currently working with a 3rd party email templating solution called SendWithUs that nicely captures events for reporting. We currently have to make a choice, however, whether to have the webhook URL set to this 3rd party endpoint or our own application destination. We could setup a bubbling mechanism to forward events on, but it would be great if multiple webhook functionality came out of the box with Mailgun. I see it becoming more critical as the ecosystem of apps and service providers building on top of Mailgun continues to grow.
With the latest webhooks release you can now provide up to 3 webhook urls per event. Please see the documentation here (https://documentation.mailgun.com/en/latest/api-webhooks.html) for more information.
-
Eric Wagoner commented
Did this ever happen? I don't see any support for multiple urls in the documentation..
-
Anonymous commented
Also for in a developer scenario, where you have the "live" webhook + another configured for your dev environment. Does that make sense?
-
gondo commented
+1
-
Peter Clark commented
I would love to see this. any idea if MailGun will ever support this?
-
Anonymous commented
+1 I'd love to see this too
-
Cory commented
+1 to this idea. We are running into exactly the same issue.
-
Sasha commented
I think it's a great suggestion. We'll definitely consider implementing it in the nearest future.