Do you feel the need to secure the API access to your account? Well so do we! Because of this, we've implemented the IP whitelist settings, where you can specify the IPs that have permission to access the API. When utilizing the IP whitelist, 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 Whitelist?
To enable the IP Whitelist, just follow the steps below:
Inside the Mailgun Control Panel (options displayed down the left-hand side on a dark column), use the following instructions:
- Click on Settings in the lower left-hand side of the Mailgun control panel, then click Security & Users.
- Select the API security tab option.
- Scroll down to IP Whitelist, then click the green Add to Whitelist button on the right.
- You will then be prompted to enter the IP / CIDR information; then just click Save IP Address / CIDR.
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 whitelist.
If any questions arise, just reach out to our Support team via the Support option in your Mailgun control panel!