Objective
There are instances where Event Webhook and Inbound parse security configurations, to correctly work with Firewall settings, would require an IP range from SendGrid, so that the host will accept only data from SendGrid. Customers might reach out to SendGrid for us to provide such ranges.
Product
Twilio Email (SendGrid)
User Account Permission/Role(s) Required
All accounts available for Event Webhook and Parse settings
Procedure
For this, it is highly important to note that SendGrid won't be able to provide such ranges, so our support for this will be limited. The main reason for this is due to the fact that IPs are constantly changed (for security purposes), so establishing fixed IPs won't be a solution, and might affect in the long run to our customers.
For that matter, we can offer 2 solutions, which can be:
- Whitelist host domains instead of IPs: These are our host domains you can whitelist api.sendgrid.net, smtp.sendgrid.net and sendgrid.net
- Dig for our records and get the IPs, but frequently update them: Please note that you can still get our IPs, IPs are available with a single A record dig, this will provide our IPs, but as stated before, these will change over time.
Additional Information
For other concerns regarding Event Webhook and inbound parse, reach out to our guide on Setting Up The Inbound Parse Webhook