# IP Whitelisting

The Proxy Backconnect API allows whitelisting your servers' IPs to be used with the proxy.

Please note: Whitelisting from the API might not be available in your package. Please make sure your package allows it or you will receive an unauthorized response.

# Add whitelisted IP

Adds an IP to be whitelisted in the proxy as soon as you haven't reached the maximum number of allowed IPs in your package.

Note: The change takes up to 1 minute to be effective.

curl -X POST "https://api.proxycrawl.com/proxy/whitelist_ips?token=_USER_TOKEN_&ip=123.123.123.123"

# Remove whitelisted IP

Removes an IP from the ones whitelisted.

Note: The change takes up to 1 minute to be effective.

curl -X DELETE "https://api.proxycrawl.com/proxy/whitelist_ips?token=_USER_TOKEN_&ip=123.123.123.123"

# View whitelisted IPs

Shows all the IPs which are currently whitelisted in the proxy.

Result comes back as JSON.

curl "https://api.proxycrawl.com/proxy/whitelist_ips?token=_USER_TOKEN_"