PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Instância → Logout

AI-generated

Summary

Logout from a specified WhatsApp instance without deleting it.

Inputs

  • ID da Instância (required) — The identifier of the WhatsApp instance to log out from.

Output shape

a single JSON object with the API response confirming the logout operation

The output is the raw JSON response from the API. Errors such as unauthorized access or non-existent instance are thrown as exceptions unless 'Continue On Fail' is enabled, in which case error details will be included in the output.

Examples

Example 1: Logout an active WhatsApp instance

Provide the instance ID string to the 'ID da Instância' parameter to disconnect that instance from WhatsApp without deleting it.

Discussion