ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Autenticação → Desconectar

AI-generated

Summary

The source defines this operation as session/disconnectSession, not under Autenticação. It disconnects the WhatsApp session of the configured ZapGate instance by POSTing to /api/v1/instances/{instanceId}/disconnect with the Admin API Key. There are no operation-specific parameters; the Instance ID is taken from the credentials. This is distinct from 'Logout Sessão', which posts to /instances/{instanceId}/logout. The call repeats once per incoming item, so use a single input item to avoid duplicate disconnects.

Inputs

  • credentials (required) — No UI parameters. Requires ZapGate credentials: Base URL, Instance ID, and Admin API Key (ZAPGATE_API_KEY).

Output shape

json

Returns the gateway JSON response as item JSON; non-object responses are wrapped as { result: }.

Links

Discussion