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:
- Navigate towards the top-right of the page next to your username, click the down-arrow, and then select the
Securityoption. Alternatively, you can use this direct link.
- On the resulting page, click on the
- In the
IP whitelistsection, click the green
Add to whitelistbutton.
- Finally, you will be prompted to enter the IP / CIDR information. Enter this information and click the
Save IP address/CIDRbutton.
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!