WhatsApp Gateway icon

WhatsApp Gateway

Envia mensagens e gerencia sessões/contatos no WhatsApp Gateway

Group → List Groups

AI-generated

Summary

Lists the groups belonging to the specified WhatsApp session by sending a GET request to /api/sessions/{session}/groups. Use it to retrieve group details such as IDs for other group operations.

Inputs

  • Session (Name or ID) (required) — WhatsApp session name or ID.
  • Request Options — Optional HTTP settings for batching, SSL certificate validation, proxy, and timeout. Batching defaults to 50 items per batch with a 1000 ms interval; set batch size to -1 to disable batching.

Output shape

A list of groups returned by the gateway.

The operation adds no query parameters and performs no changes. The exact response fields and pagination behavior are not specified.

Links

Discussion