Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node provides an interface to interact with the WaAPI API, specifically allowing operations on different resources. The "Client" resource's "Logout" operation logs out a client instance identified by its ID. This is useful in scenarios where you need to programmatically terminate a session or disconnect a client from the WaAPI service, for example, when cleaning up sessions or managing active connections.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID of the client to log out. This is a required numeric identifier specifying which client session to terminate. |
Output
The node outputs JSON data representing the result of the logout operation. Typically, this would include confirmation of the logout action or any relevant status messages returned by the WaAPI API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the WaAPI API.
- The node uses the base URL
https://waapi.app/api/v1for all requests. - It depends on the external package
@devlikeapro/n8n-openapi-nodefor building properties and handling OpenAPI specifications.
Troubleshooting
- Common issues:
- Invalid or missing instance ID will cause the logout operation to fail.
- Authentication errors if the API key credential is not configured correctly.
- Network connectivity issues preventing access to the WaAPI endpoint.
- Error messages:
- Errors related to authentication typically indicate problems with the provided API key; ensure it is valid and has necessary permissions.
- If the instance ID does not exist or is invalid, the API may return a not found or bad request error; verify the ID before executing.
- Timeout or connection errors suggest network issues or incorrect base URL configuration.
Links and References
- WaAPI Official Website
- WaAPI API Documentation (assumed based on base URL)
- n8n OpenAPI Node Package