Actions98
- Auto Reply Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Message Actions
- Media Actions
- Notification Actions
- Profile Actions
- Scheduler Actions
- Session Actions
- Status Update Actions
- System Actions
- User Actions
- Webhook Actions
Session → Update Settings
AI-generatedSummary
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'}