WhatsApp API - Session icon

WhatsApp API - Session

Manage WhatsApp sessions

Stop Session

AI-generated

Summary

Stop a specific WhatsApp session by its Session ID within an optional Organization ID context.

Inputs

  • Organization ID (required) — Organization ID for multi-tenant access. Use an expression to retrieve it from previous node data if needed.
  • Session ID (required) — The identifier of the WhatsApp session to stop.

Output shape

a single object confirming the stopped session or an error object on failure

Returns the API response as JSON; includes error details if the operation fails and continueOnFail is enabled.

Examples

Example 1: Stop a WhatsApp session for a given organization

Provide the required Organization ID and Session ID parameters to stop the intended session.

Discussion