Skip to main content
POST

Authorizations

token
string
header
required

Body

application/json
mode
enum<string>

Canonical field for defining the proxy strategy.

Available options:
custom,
internal,
none
proxy_url
string

Required when mode=custom. Accepted protocols: http://, https://, socks5://, and socks5h://. The generic socks:// scheme is not supported; use socks5:// or socks5h://.

Example:

"http://usuario:senha@ip:porta"

proxy_fallback
string

Fallback policy for mode=custom. Accepts internal, never, or a fallback proxy URL using http://, https://, socks5://, or socks5h://.

confirm_no_proxy
boolean

Required when mode=none.

rotate_now
boolean
default:false

When true with mode=internal, immediately switches the persisted internal proxy without exposing the provider used.

proxy_managed_country
string

ISO alpha-2 country used to validate the managed proxy egress. Use only with mode=internal.

Example:

"br"

proxy_managed_state
string

State/province of the geographic target returned by the city catalog.

Example:

"sp"

proxy_managed_city
string

City slug returned by GET /proxy-managed/cities.

Example:

"campinas"

Response

Proxy configured successfully

details
string
Example:

"Proxy configured"

proxy
object
restart_requested
boolean

Indicates whether a connection restart was requested to apply the proxy.

rotated
boolean

Present as true when rotate_now successfully switches the internal proxy.