MegaAPI icon

MegaAPI

Interact with MegaAPI WhatsApp service

Instance → Restart

AI-generated

Overview

This node operation restarts a WhatsApp instance managed via the MegaAPI service. Restarting the instance terminates all active connections and requires the instance to reconnect. This operation is useful when you need to reset the WhatsApp instance to resolve connection issues or apply configuration changes.

Use Case Examples

  1. Restarting a WhatsApp instance to refresh its connection after network issues.
  2. Performing a restart to apply updates or changes to the WhatsApp instance configuration.

Properties

Name Meaning
Confirmation A notice to inform the user that restarting the instance will terminate all active connections and the instance will need to reconnect.

Output

JSON

  • status - The status or result of the restart operation on the WhatsApp instance.

Dependencies

  • Requires MegaAPI WhatsApp service credentials including an API token and base URL for authentication and communication.

Troubleshooting

  • If the restart operation fails, ensure that the API credentials are correctly configured and the MegaAPI service is reachable.
  • Common error messages include 'Unknown operation' if the operation parameter is incorrect, or network errors if the service is unreachable.
  • Ensure that the user confirms the restart action as it will terminate active connections, which might cause temporary service disruption.

Discussion