WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

👥 **GROUPS** · Get All Groups

AI-generated

Summary

Retrieve all groups associated with the selected WhatGHL session.

Inputs

  • Session Mode — Choose how WhatGHL selects the sender session. Options: Auto (default backend session selection), By Session Name (specify WAHA session name), or Select Session (pick from sessions available for this API key).
  • Session — Session ID to use when 'Select Session' mode is chosen. Loaded dynamically from available sessions.
  • Session Name — Name of the WAHA session to use when 'By Session Name' mode is chosen. Example: Session1-0da2bdfd.

Output shape

An array of group objects representing all groups for the selected session.

Requires valid WhatGHL API credentials (baseUrl and apiKey). The session to query must be specified according to the chosen session mode. Returns JSON data from the WhatGHL backend's 'get_all_groups' action.

Links

Discussion