WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

👥 **GROUPS** · Get Participants

AI-generated

Summary

Retrieve the list of participants in a specified WhatsApp group using WhatGHL API.

Inputs

  • Session Mode — Select how the node picks the sender session: Auto (default backend selection), By Session Name, or Select Session from available API key sessions.
  • Session — When Session Mode is 'Select Session', pick the session shown in the WhatGHL UI (sessionId).
  • Session Name — When Session Mode is 'By Session Name', specify the WAHA session name to use as sender.
  • Group ID (required) — Specify the WhatsApp group identifier (e.g., '1234567890@g.us' or numeric id) from which to get participants.

Output shape

a JSON object containing the participants array for the specified group

Requires a valid Group ID; session can be selected via Session Mode. Returns JSON data from the WhatGHL API's get_group_participants action. Handles multiple input items, each allowing different group IDs or session selections.

Examples

Example 1: Retrieve participants of a WhatsApp group

Set 'Operation' to '👥 GROUPS · Get Participants', specify 'Group ID' for the target group, and choose the appropriate 'Session Mode' and session to use.

Links

Discussion