PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Central de Ligações → Atualizar Status

AI-generated

Summary

Update the status of a specific call instance in the Central de Ligações resource by specifying its ID and the desired status.

Inputs

  • ID da Instância de Ligação (required) — The unique identifier of the call instance to update.
  • Status (required) — The new status to set for the call instance; options are Offline, Online, or Ligando (Calling).

Output shape

a single JSON object representing the API response to the status update request.

The output contains the result from the API; any errors during execution may throw exceptions unless 'Continue on Fail' is enabled, in which case error details are included in the output.

Examples

Example 1: Set call instance with ID '12345' to Online status.

Set resource to 'Central de Ligações', operation to 'Atualizar Status', provide '12345' as ID da Instância de Ligação, and select 'Online' as Status.

Discussion