How can I get the Client IP Address in Custom JS?

To get the Client IP address in Custom JS, call this function:

api.getClientIpAddress()

Also check out our comprehensive API documentation, many functions are available.