ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Inbox (painel) → Bloquear/Desbloquear

AI-generated

Summary

Blocks or unblocks a WhatsApp user on the instance.

Inputs

  • phone (required) — WhatsApp number (with DDI, e.g., 5511999999999). In groups, use the JID (e.g., 120363123456789012@g.us).
  • block (required) — Boolean to block (true) or unblock (false) the contact.

Output shape

A single JSON object indicating success or failure.

Returns a result object. The API path uses the instance ID from credentials.

Examples

Example 1: Block a user

Phone: 5511999999999, Block: true

Example 2: Unblock a user

Phone: 120363123456789012@g.us, Block: false

Links

Discussion