Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation updates the configuration of an existing WhatsApp session using the WARest WhatsApp REST API. It allows users to modify session settings such as webhook URL, webhook secret, and whether to trigger a preflight call before saving the configuration. This operation is useful for managing session behavior and integrating webhook callbacks for real-time updates.
Use Case Examples
- Updating the webhook URL and secret for a session to receive event callbacks.
- Enabling a preflight check before applying new session configuration settings.
Properties
| Name | Meaning |
|---|---|
| Session ID | Identifier of the WhatsApp session to update. Can be selected from a list or entered manually. |
| Webhook URL | HTTPS URL to receive webhook callbacks for the session. |
| Webhook Secret | Shared secret used for signing webhook callbacks to verify authenticity. |
| Preflight | Boolean flag to trigger a preflight call before saving the session configuration. |
Output
JSON
json- The updated session configuration response from the WARest API
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and corresponds to an active session.
- Verify that the webhook URL is a valid HTTPS endpoint to receive callbacks.
- If the preflight option is enabled, ensure the preflight call succeeds to avoid configuration save failures.
- Common error messages include invalid session ID, unauthorized API access due to missing or incorrect API key, and invalid webhook URL format.
Links
- WARest API - Update Session Config - Official documentation for updating session configuration using the WARest API.
