Actions27
- Contact Actions
- Group Actions
- Guardrail Actions
- Message Actions
- Session Actions
Session → List
AI-generatedSummary
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.