GET
/api/public/v1/security/ip-whitelist

List IP whitelist

Return all whitelisted IPs and whether the whitelist is currently enforced.

GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/security/ip-whitelist" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "IP whitelist retrieved successfully!",
  "content": {
    "ipWhitelist": [
      {
        "id": "ip_1",
        "type": "IPV4",
        "address": "203.0.113.1"
      }
    ],
    "enabled": true
  }
}