Whitelist

Client IPs on a proxy's whitelist can use the proxy without a username and password (HTTP and SOCKS5). Everyone else still needs a proxy user. See Proxy formats.

Rules: IPv4 ranges must be /16 or narrower, IPv6 /32 or narrower; at most 20 entries per proxy; a single IP is stored as /32 (IPv4) or /128 (IPv6). Changes reach the proxy with the node's next config pull (seconds).

List

GET /proxies/{id}/whitelist

Ability: read

curl
Python
Node.js
PHP
curl 'https://proxykite.com/api/v1/proxies/7/whitelist' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json'

Response 200

{"data": [{"id": 3, "cidr": "203.0.113.4/32", "note": "office"}]}

Add

POST /proxies/{id}/whitelist

Ability: manage · Who: anyone on the account except team viewers; sub-users for their assigned proxies.

Body fieldType
cidrstring ≤ 64required — an IP (203.0.113.4) or range (203.0.113.0/24)
notestring ≤ 100optional
curl
Python
Node.js
PHP
curl -X POST 'https://proxykite.com/api/v1/proxies/7/whitelist' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"cidr":"203.0.113.4","note":"office"}'

Response 201

{"data": {"id": 4, "cidr": "203.0.113.4/32", "note": "office"}}

422 validation_failed (fields.cidr) for an invalid or too-wide range, a duplicate, or a full list.

Remove

DELETE /proxies/{id}/whitelist/{entryId}

Ability: manage

curl
Python
Node.js
PHP
curl -X DELETE 'https://proxykite.com/api/v1/proxies/7/whitelist/4' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json'

Response 204 (no body) · 404 not_found if the entry is not on this proxy.