Reputation: 7241
I am trying to setup sendgrid webhooks for events fired when the emails are delivered etc. Is there a way to pass a URL like twilio or any other setting changes that allow me to add more URLS for different environments.
I am also trying to differentiate between test and prod.
For example -
Test - test.callmebackwithInfo.com/sendgrid
Stage - stage.callmebackwithInfo.com/sendgrid
Prod - prod.callmebackwithInfo.com/sendgrid
Upvotes: 6
Views: 2758
Reputation: 7241
After call with send grid and from the answers below. I added more sub-accounts. With each subaccount I can add different URL's.
The good thing is I can use the same email address with different username.
Upvotes: 4
Reputation: 2710
You cannot add 3 URLs or let Sendgrid decide where to call on the basis of your environment. However, your requirement is doable and below are 2 ways to achieve your requirements.
Upvotes: 2