WhatsApp Connect

Connect to WhatsApp using QR code

Check Session Status

AI-generated

Summary

Checks the WhatsApp session identified by the node's sessionId credential against the external WhatsApp server. Sends a GET request to /sessions/status/{sessionId} and returns the server response for each input item.

Inputs

  • Use Legacy Mode — Declared as a boolean defaulting to false and shown for external mode. The status check does not use this value; it is only read by the node.
  • WhatsApp server credentials (required) — The required whatsAppServerApi credentials provide the server mode, URL, session ID, and optional API key. External mode is needed to request session status; if another mode is configured, the node returns a failure object indicating embedded mode is unavailable.

Output shape

One output item per input item, with the server response in its json field.

When configured with an API key, the node sends it as a Bearer token. If the request fails and Continue On Fail is enabled, that item's JSON contains an error message; otherwise the node throws a NodeOperationError.

Links

Discussion