Actions20
- Message Actions
- Presence Actions
- Session Actions
- Group Actions
- Contact Actions
Session → Restart
AI-generatedSummary
Restart a WhatsApp session using the Wacap API.
Inputs
- sessionId (required) — Session ID/name. Defaults to 'default'.
Output shape
object
Returns the API response from the /api/sessions/{sessionId}/restart endpoint.
Examples
Example 1: Restart session with ID 'mySession'
Session ID: mySession