Different conditional hooks endpoints in same server #3598
sriccio
started this conversation in
Feature suggestions
Replies: 1 comment
|
It sounds to me that you probably want to add your domain at an Organization level and then add multiple Mail Servers within that Organization, one for each application you have. Then the webhooks can be fully separate. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
First of all, thanks for this project.
I have a question about webhook configuration and was wondering if this could be supported, either already or as a potential enhancement.
Would it be possible to configure different webhook endpoints based on the original sender address?
For example, I have a domain configured in Postal:
notify.mydomain.com.One of my applications sends emails from
project-noreply@notify.mydomain.com, and I use a webhook to notify that application's backend when a message is delivered.Now I'd like to use the same Postal domain for another application, sending from
otherproject-noreply@notify.mydomain.com. Ideally, delivery events for those emails would be sent to a different webhook endpoint, since they belong to a separate application.Is this currently possible, or would it make sense as a feature request? For example, having the ability to route webhooks conditionally based on the sender address (or another message attribute) would make it much easier to use a single Postal domain across multiple projects.
I hope that makes sense. Thanks in advance for your feedback!
Kind regards,
Sébastien
All reactions