WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Session → Update Settings

AI-generated

Summary

Update session settings for a WA-AKG session

Inputs

  • targetSessionId (required) — The ID of the session you want to manage. E.g. "my_session_1"
  • additionalFields — Additional dynamic fields for the operation (e.g., custom session ID, bot config, session settings).
  • botConfig — Key-Value pairs for bot configuration to update.
  • sessionSettings — Key-Value pairs for session settings to update.

Output shape

an object representing the updated session settings

contains the key-value pairs defined in sessionSettings; optional fields may be omitted and the response reflects the updated session state.

Examples

Example 1: Modify session settings and bot configuration

targetSessionId=my_session_1; sessionSettings={'rejectCall':'true'}; botConfig={'prefix':'!'}

Example 2: Update session settings only

targetSessionId=session_42; sessionSettings={'readReceipts':'false'}

Links

Discussion