ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Informações → Bloquear/Desbloquear

AI-generated

Summary

Update the block status of a user in the instance by blocking or unblocking a specified phone number.

Inputs

  • phone (required) — Phone number to block or unblock, formatted with country code and digits only.
  • block — Boolean flag indicating whether to block (true) or unblock (false) the given phone number; defaults to true.

Output shape

a JSON object reflecting the API response indicating the success or failure of the block/unblock action.

No pagination. Requires an authenticated instance credential to identify the instance and authorize the request.

Links

Discussion