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
- Leave Group
- Delete Group
- Update Group Name
- Update Group Description
- Toggle Announcement Mode
- Lock Group Edits
- List Participants
- Add Participants
- Remove Participants
- Promote Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Profile Actions
- Server Actions
- Miscellaneous Actions
Sessions → List Sessions
AI-generatedOverview
This node interacts with the WARest WhatsApp REST API to list all active WhatsApp sessions. It is useful for scenarios where you need to retrieve and manage multiple WhatsApp sessions programmatically, such as monitoring session statuses or integrating session data into workflows.
Use Case Examples
- Retrieve a list of all WhatsApp sessions to display their status and IDs.
- Use the session list to select a session for further operations like sending messages or managing contacts.
Output
JSON
json- An array of session objects, each containing details such as session ID, status, and optional descriptive fields like name or pushName.
Dependencies
- Requires an API key credential for the WARest API and the base URL of the WARest server.
Troubleshooting
- Ensure the API credentials (base URL and API key) are correctly configured; otherwise, the node will fail to retrieve sessions.
- If the node throws an error stating the operation is not implemented, verify that the resource is set to 'Sessions' and the operation to 'List Sessions'.
- Network connectivity issues to the WARest server can cause request failures; check server availability and network settings.
Links
- WARest GitHub Repository - Official repository for the WARest WhatsApp REST API, providing documentation and source code.
