OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Session → Update Config

AI-generated

Summary

Updates selected configuration fields for a WhatsApp session. The update is partial: fields you omit keep their stored values. The configurable fields now include Link Preview, which controls whether messages generate link previews, in addition to Auto Reject Calls and reconnect settings.

Inputs

  • Session Name or ID (required) — Select a session or provide its UUID, such as from an expression.
  • Config Fields — Add any fields to update: Auto Reject Calls enables or disables automatic call declines (Baileys only; WhatsApp Web.js cannot reject calls); Link Preview controls the link preview behavior for Send Text and Send Template messages, with options for Engine Default, Generate a Preview, or No Preview (requires OpenWA 0.30.3 or later); Max Reconnect Attempts sets the gateway's consecutive retry cap (-1 for unlimited, 0 for none, up to 20); Reconnect Base Delay (Ms) sets the retry backoff base from 1,000 to 300,000 ms. Retry and Link Preview settings apply from the next Start or next send respectively. On Baileys, the retry cap covers only reconnects after a logged-out close; the engine handles transient drops itself.

Output shape

A single item containing the API response.

Only fields added to Config Fields are sent; omitted fields retain their stored values.

Links

Discussion