Wasup icon

Wasup

Send WhatsApp messages and manage instances via the Wasup API

Instance → List

AI-generated

Summary

Lists every WhatsApp instance on the Wasup deployment by calling GET /api/instances with the configured Wasup API credentials.

Inputs

None.

Output shape

The parsed JSON response from /api/instances, emitted as n8n items (returnJsonArray). Each input item produces output linked to it. The instance list appears under an instances key. The source reads fields such as id, name, status and connectedPhone from each entry.

The exact response shape is determined by the Wasup server. If the response is an object containing an instances array, it is emitted as one item with that array, not split into one item per instance. If the node runs once per input item, the same full list is returned for each item. With Continue On Fail enabled, errors are returned as an item with an error message.

Examples

Example 1: Get all instances and their connection status on a schedule to alert on disconnected numbers

Resource: Instance, Operation: List. No other parameters. Follow with a Split Out node on instances and an IF node that checks status.

Example 2: Look up an instance ID before sending a message

Resource: Instance, Operation: List. Then use the returned id in later Wasup nodes via the 'By ID' mode.

Links

Discussion