WaAPI icon

WaAPI

Interact with WaAPI API

Actions83

Overview

This node interacts with the WaAPI API to perform operations related to WhatsApp clients. Specifically, the "Reboot" operation under the "Client" resource allows users to reboot a particular WhatsApp client instance by specifying its unique instance ID. This can be useful in scenarios where a client becomes unresponsive or requires a restart to apply new settings or recover from errors.

Practical examples include:

  • Automatically rebooting a WhatsApp client instance after detecting connectivity issues.
  • Restarting a client as part of maintenance workflows to ensure smooth operation.

Properties

Name Meaning
Id The unique identifier (Instance ID) of the WhatsApp client instance to reboot. This is a required numeric value.

Output

The node outputs JSON data representing the response from the WaAPI API after attempting to reboot the specified client instance. This typically includes status information about the reboot request, such as success confirmation or error details.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI API.
  • The node sends requests to the base URL: https://waapi.app/api/v1.
  • Proper configuration of the API authentication credential within n8n is necessary.

Troubleshooting

  • Common Issues:

    • Providing an invalid or non-existent Instance ID will likely result in an error response from the API.
    • Network connectivity problems may prevent the node from reaching the WaAPI service.
    • Missing or incorrect API credentials will cause authentication failures.
  • Error Messages and Resolutions:

    • Authentication errors: Verify that the API key credential is correctly set up and has the necessary permissions.
    • Instance not found: Confirm that the provided Instance ID corresponds to an existing client.
    • Timeouts or network errors: Check internet connectivity and firewall settings.

Links and References

Discussion