WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Session → Get All Sessions

AI-generated

Summary

List all active WhatsApp sessions

Inputs

None.

Output shape

Array of session identifier strings

The response includes a success flag and a result array containing session names; the array may be empty.

Examples

Example 1: View all currently loaded WhatsApp sessions

Resource: Session; Operation: Get All Sessions; no parameter values needed

Example 2: Check if any sessions are available before selecting one

Same as above; can be used to populate a dropdown of sessions

Example 3: Use the output to feed a subsequent node that requires a session ID

After Get All Sessions, iterate over result items to choose a session for other operations

Links

Discussion