MegaAPI icon

MegaAPI

Interact with MegaAPI WhatsApp service

Instance → Status

AI-generated

Overview

This node operation retrieves the current status and information of a WhatsApp instance using the MegaAPI WhatsApp service. It is useful for monitoring the connection and operational state of the WhatsApp instance, ensuring it is active and functioning correctly. For example, it can be used to check if the WhatsApp instance is online, connected, or if there are any issues that need attention.

Use Case Examples

  1. Checking the WhatsApp instance status before sending messages to ensure the service is available.
  2. Monitoring the instance status in an automated workflow to trigger alerts or recovery actions if the instance goes offline.

Properties

Name Meaning
Information This is a notice property that informs the user that this operation will retrieve the current status and information of the WhatsApp instance.

Output

JSON

  • status - The current status of the WhatsApp instance, such as online, offline, or connecting.
  • details - Additional information or metadata about the WhatsApp instance status.

Dependencies

  • Requires an API authentication token or credentials for the MegaAPI WhatsApp service.

Troubleshooting

  • If the node throws an 'Unknown operation' error, ensure the operation parameter is set to 'status' for the Instance resource.
  • If the status retrieval fails, check the API credentials and network connectivity to the MegaAPI service.
  • Errors related to authorization usually indicate invalid or missing API tokens.

Links

Discussion