SeuGenio API icon

SeuGenio API

Enviar mensagens via SeuGênio API (WhatsApp)

Bloquear ou Desbloquear Contato

AI-generated

Summary

Block or unblock a WhatsApp contact by specifying the target phone number and the desired action.

Inputs

  • Número do Celular de Destino (required) — The destination phone number (in international format, e.g., 553199999999) of the contact to block or unblock.
  • Ação (required) — The action to perform: either 'Bloquear' (block) or 'Desbloquear' (unblock).

Output shape

a single JSON object reflecting the API response indicating success or failure of the block/unblock operation

The output corresponds to the API's response to the update block status request; details depend on the API implementation and may include confirmation or error information.

Discussion