OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Session → Update Proxy

AI-generated

Summary

Update the egress proxy configuration of an existing WhatsApp session by setting a new proxy URL or removing the stored proxy without restarting the session.

Inputs

  • Session Name or ID (required) — Select the WhatsApp session to update by its UUID, which can be chosen from the list or specified using an expression.
  • Proxy URL — Specify the full egress proxy URL including scheme (http, https, socks4, socks5) to set as the session's proxy. Credentials can be embedded for certain schemes. This affects the proxy used the next time the session starts.
  • Clear Proxy — Toggle to remove the stored proxy configuration instead of setting a new one. When enabled, the Proxy URL is ignored and the proxy is cleared from the session.

Output shape

a single JSON object representing the update result

The operation returns a JSON response indicating success. Setting or clearing the proxy does not restart the session immediately; changes take effect when the session is started next. Proxy credentials are not returned by the server and cannot be retrieved after setting.

Links

Discussion