Actions27
- Contact Actions
- Group Actions
- Guardrail Actions
- Message Actions
- Session Actions
Session → Restart
AI-generatedSummary
Restart a specific WhatsApp session identified by its name or ID, triggering the gateway to reinitialize the session.
Inputs
- Session (Name or ID) (required) — The name or ID of the WhatsApp session to restart.
- Request Options — Optional settings to control request behavior such as batching, proxy usage, timeout, and SSL certificate validation.
Output shape
a single JSON object response from the gateway indicating the status or result of the restart action
The operation sends a POST request to /api/sessions/{session}/restart and returns the server's response. No pagination or multiple items are returned.
Examples
Example 1: Restart a WhatsApp session named 'campanha1' to reinitialize its connection.
Set 'Session (Name or ID)' to 'campanha1' and choose the 'Restart' operation under 'Session' resource.