Pulling IP via API

The list below contains API call details needed for consistently pulling the IP information via API to your firewall when Forcepoint ONE SSE adds new IPs or updates the existing IPs so that the outbound traffic to Forcepoint ONE SSE does not get blocked.

Occasionally, Forcepoint ONE SSE will add new IPs or update our existing IPs. When this occurs, you will need to update your firewalls accordingly with the new IPs to ensure the outbound traffic to Forcepoint ONE SSE does not get blocked. However, to ensure your systems are updated in a timely fashion, Forcepoint ONE SSE has provided a way to consistently pull the IP information via API.

  • Use the following API call to pull the IP addresses using basic Auth:
    • For Trial, use curl https://portal.us.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

      Alternatively, you can also use curl https://appinfo.us.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

    • For Commercial Cloud, use curl https://portal.bitglass.com/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

      Alternatively, you can also use curl https://appinfo.bitglass.com/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

    • For Production EU Cloud, use curl https://portal.eu.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

      Alternatively, you can also use curl https://appinfo.eu.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -u <username>:<password>

  • If you wish to make the API calls using OAuth token, then you need to setup OAuth token from Settings > API Interface > OAuth page. Once you have created your OAuth token for pulling the IP addresses, then use the following API call to pull the IP addresses:
    • For Trial, use curl https://portal.us.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"

      Alternatively, you can also use curl https://appinfo.us.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"

    • For Commercial Cloud, use curl https://portal.bitglass.com/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"

      Alternatively, you can also use curl https://appinfo.bitglass.com/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"

    • For Production EU Cloud, use curl https://portal.eu.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"

      Alternatively, you can also use curl https://appinfo.eu.bitglass.net/api/bitglassapi/iplist/v1/?responseformat=json -H "Authorization: Bearer: <your_token_here>"