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 creates a new WhatsApp session using the WARest WhatsApp REST API. It is useful for booting a new session to start interacting with WhatsApp programmatically, such as sending messages or managing chats. For example, a user can create a session to automate WhatsApp messaging workflows or integrate WhatsApp communication into their applications.
Use Case Examples
- Create a new WhatsApp session to enable sending automated messages.
- Initialize a session to manage WhatsApp groups or contacts programmatically.
Properties
| Name | Meaning |
|---|---|
| Session ID | Session identifier for session operations. Choose from list or type manually. |
Output
JSON
json- The JSON response from the WARest API representing the created session details or status.
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 correctly specified either by selecting from the list or entering manually; an invalid or missing session ID will cause errors.
- Verify that the API credentials (API key and base URL) are correctly configured and accessible.
- Common error: 'Operation "createSession" is not implemented yet' indicates a misconfiguration or unsupported operation; ensure the node is set to 'Create Session' operation under 'Sessions' resource.
Links
- WAREST GitHub Repository - Official repository for the WARest WhatsApp REST API, useful for understanding API capabilities and session management.
