Ploi API
Ploi API

IP addresses

When working with Ploi's API you might want to whitelist our IP addresses, like worker IP's or uptime checkers. This article describes the endpoint to get these endpoints.

The IP addresses in the example response are not our IP addresses, these are obfuscated for security reasons.

GET api/ips

Example request

curl -X GET "https://ploi.io/api/ips" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "workers": [
            "127.0.0.1"
        ],
        "site-monitors": {
            "london": "127.0.0.2",
            "us": "127.0.0.3",
            "singapore": "127.0.0.4"
        }
    }
}