IP whitelist
For added security, Agora Chat provides the IP whitelist function. If only certain IP addresses are allowed to call the RESTful APIs to send messages, you can add these IP addresses to the IP whitelist on the Agora console. IP addresses outside the IP whitelist cannot call the RESTful API to send messages.
Add an IP address to the IP whitelist
-
Log in to Agora Console.
-
In the left navigation bar of the Agora console, choose Chat > Features > IP Whitelist to open the Security Setting page.
-
On the Security Setting page, click Add and enter the IP address in the Add IP Address dialog box that is displayed.
-
Click OK to complete the configuration.
Remove an IP address from the IP whitelist
If you no longer allow an IP address to send messages via the RESTful APIs, you can remove it from the IP whitelist. If you delete all IP addresses in the IP whitelist, that is, the whitelist is empty, all IP addresses can send messages via the RESTful APIs by default.
-
Log in to Agora Console.
-
In the left navigation bar of the Agora console, choose Chat > Features > IP Whitelist to open the Security Setting page.
-
In the IP Whitelist list, click Delete to the right of an IP address.
-
Click OK to delete the IP address.