Connect with QR Image
AI-generatedSummary
Requests a QR image for the configured WhatsApp session from the external WhatsApp server. The request also sends the legacy-mode setting; the server response is returned as the output item’s JSON.
Inputs
- Use Legacy Mode — Whether to use legacy WhatsApp mode. Shown for external server credentials; defaults to false.
Output shape
A list of output items, one per input item, each containing the server response as JSON.
Sends a POST request to /sessions/add with the configured session ID and legacy-mode value. Includes a Bearer authorization header when an API key is configured. The operation requires the whatsAppServerApi credential; embedded mode returns a failure object because it is unavailable. Request errors are thrown unless continue-on-fail is enabled, in which case an error object is returned.