Skip to content

Configure, manage, and control the network proxy or traffic-blocking settings for a container. These endpoints allow you to read, update, start, and stop network interfaces associated with a specific container, including support for SOCKS5, HTTP, and HTTPS proxies as well as full traffic blocking.


Get the current network configuration and status for a container.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to retrieve network configuration for
Terminal window
curl -X GET "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439012/network" \
-H "Authorization: Bearer <token>"

Configure or update the network proxy or blocking settings for a container.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to configure network for
NameTypeRequiredDescription
typestringYesNetwork configuration type — one of socks5, http, https, or block (for traffic blocking)
proxystringNoProxy server URL (required for non-block types, e.g., socks5://user:pass@proxy.example.com:1080)
countrystringNoOptional country for geographical proxy selection
citystringNoOptional city for geographical proxy selection
regionstringNoOptional region for geographical proxy selection
commentstringNoOptional comment describing the network configuration
dns_serversarrayNoCustom DNS servers (max 4, defaults to ["1.1.1.1", "8.8.8.8"])
Terminal window
curl -X PATCH "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439012/network" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"type": "socks5",
"proxy": "socks5://user:pass@proxy.example.com:1080",
"country": "US",
"city": "New York",
"region": "North America",
"comment": "Production proxy for US traffic",
"dns_servers": ["1.1.1.1", "8.8.8.8"]
}'

Remove the entire network proxy or blocking configuration for a container.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to remove network configuration from
Terminal window
curl -X DELETE "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439012/network" \
-H "Authorization: Bearer <token>"

POST /api/v1/containers/{id}/network/start

Section titled “POST /api/v1/containers/{id}/network/start”

Start the network proxy or blocking service for a container.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to start network for
Terminal window
curl -X POST "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439012/network/start" \
-H "Authorization: Bearer <token>"

Stop the network proxy or blocking service for a container.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to stop network for
Terminal window
curl -X POST "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439012/network/stop" \
-H "Authorization: Bearer <token>"