We're experiencing difficulty. Our engineers are on it. Please check status.mailgun.com for real-time updates.

IP Allowlist

Do you feel the need to secure API access to your account? Well so do we! Because of this, we've implemented the IP allowlist settings, where you can specify the IPs that have permission to access the API.  When utilizing the IP allowlist, only the IPs you have specified will be able to connect to the API. 

Note: this will not impact SMTP connections.

How to Enable IP Allowlist? 

To enable the IP Allowlist, just follow the steps below:

Inside the Mailgun Control Panel:

  1. Navigate towards the top-right of the page next to your username, click the down-arrow, and then select the Security option. Alternatively, you can use this direct link
  2. On the resulting page, click on the API security tab.
  3. In the IP whitelist section, click the green Add to whitelist button. 
  4. Finally, you will be prompted to enter the IP / CIDR information. Enter this information and click the Save IP address/CIDR button.

That's it - you should be all set! While an important and highly effective way to secure your account, it is actually really quite simple to add and remove IPs from the IP allowlist. 

If any questions arise, just reach out to our Support team via the Support option in your Mailgun control panel!