IP Access Management

What is IP access management?

IP Access Management is a security feature that allows you to control who can access your SendGrid account based on their IP address. After you allow an IP address, you can only access the SendGrid UI, API, and SMTP relay if you are connecting from an allowed IP address. Any access attempts from other IPs will be blocked. This is a powerful security tool that you can use to help prevent malicious activity on your account.

It is possible to remove your own IP address from your list of allowed addresses, thus blocking your own access to your account. While we are able to restore your access, we do require thorough proof of your identify and ownership of your account. We take the security of your account very seriously and wish to prevent any "bad actors" from maliciously gaining access to your account.

If you do not access SendGrid via a static IP address (for example, via VPN or from a business internet service), setting up IP Access Management may result in being locked out of your SendGrid account. If you have locked yourself out of your account, please contact SendGrid Support.

Allowing IP addresses

There is no limit on the number of IP addresses you can allow.

To enable IP Access Management and add allowed addresses

  1. Navigate to the Settings > IP Access Management in the Twilio SendGrid App.
  2. You will see a message explaining IP Access Management under Allow Listed IP Addresses until you enable IP Access Management. IP Access Management will be enabled once you add one or more allowed IPs.
  3. Under Recent Access Attempts, you will see a list of IPs that recently attempted to connect to your account, regardless of whether or not they are allowed addresses. You will also see some additional information about those IPs, such as the date of the first and most recent access attempt, the physical location of the IP, and the method by which they attempted to access your account.

IP Access Management Settings page

Add individual IP addresses

To allow one or more IP addresses

  1. Click + Add IP Addresses.

Add an IP Address button

  1. A dialog will appear. Check the two radio boxes to acknowledge that you understand this feature and select Confirm and Continue.
  2. A menu will appear showing Your Current IP and a list of the RECENTLY ACCESSED 20 IPs.
  3. You can add recently accessed IPs by clicking Add to Form Below next to the IP you wish to allow.
  4. You can add all the listed recent addresses by clicking Add All to Form Below.
  5. You can enter a single IP address or range of IP addresses in the field at the bottom of the menu.
  6. Once you have added all your desired IP addresses, click Save.

Adding IP addresses from the IP Access Management menu

If you do not add your current IP address, you will be prompted to add it. Choosing not to add your current IP will terminate your session. You will then have to reconnect to your account from one of your allowed addresses.

Add a range of IP addresses

You can add a range of IP addresses using CIDR notation or a wildcard character.

Use CIDR notation

To enter a range of IP addresses using CIDR notation:

  1. Navigate to the Settings > IP Access Management in the Twilio SendGrid App.
  2. Click + Add IP Addresses.
  3. In the IP address(es) or range field, enter your routing prefix followed by a / and the number of bits in your routing mask. For example: 192.168.100.14/24.

Explaining CIDR notation is beyond the scope of this article, and we only recommend that advanced users use this notation when allowing IPs. If you are unfamiliar with CIDR notation, we recommend that you enter each IP individually when allowing a range of IPs.

Use a wildcard

To enter a range of IP addresses using a “wildcard” character:

  1. Navigate to the Settings > IP Access Management in the Twilio SendGrid App.
  2. Click + Add IP Addresses.
  3. In the IP address(es) or range field, enter your IP followed by an asterisk. For example, 25.203.44.* will include all IPs that begin with 25.203.44.

Add IP addresses from the Recent Access Attempts list

Once IP Access Management is enabled, you can add individual addresses from the Recent Access Attempts list to your list of allowed IPs.

  1. From the Settings > IP Access Management page, navigate to an address in the Recent Access Attempts list.
  2. Click the action menu to the right of the address you want to allow and select Add To Allowed List .

Add a single address to your IP Access Management allow list

Remove an allowed IP

  1. From the Settings > IP Access Management page, navigate to the Allow Listed IP Addresses list.
  2. Click the action menu to the right of the allowed address you want to remove and select Remove From Allow List.

Remove a single address from your IP Access Management allow list

  1. Another dialog will open asking you to confirm the removal. Select Remove IP to continue.

It is possible to remove your own IP address from your list of allowed addresses, thus blocking your own access to your account. While we are able to restore your access, we do require thorough proof of your identify and ownership of your account. We take the security of your account very seriously and wish to prevent any "bad actors" from maliciously gaining access to your account.

Disable IP Access Management

You can disable IP Access Management to reopen account access to any IP address and no longer maintain a list of allowed addresses.

  1. From the Settings > IP Access Management page, click Disable Allow List.
  2. A dialog will open asking you to confirm the decision. Click Disable.

Disable IP Access Management

For additional information about using IP Access Management through our API, see our API Reference.

Rate this page:

Need some help?

We all do sometimes. Get help now from the Twilio SendGrid Support Team.

Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more