WhatsApp Gateway icon

WhatsApp Gateway

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

Session → List

AI-generated

Summary

List WhatsApp Gateway sessions with an optional filter by guard-rail state.

Inputs

  • Filter by State — Optional comma-separated list of guard-rail states to filter the session listing (e.g., ativa,aquecimento).

Output shape

a list of session objects as returned by the WhatsApp Gateway API

The output is the raw JSON array of sessions fetched from the /api/sessions endpoint. You may filter the sessions by guard-rail state using the optional 'Filter by State' input parameter, which is sent as a 'state' query string in the API request.

Examples

Example 1: List all sessions without a state filter

No 'Filter by State' parameter specified, retrieves all sessions.

Example 2: List only sessions with specific states

Specify states as comma-separated string in 'Filter by State' to limit results.

Links

Discussion