ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Mensagens → Bloquear/Desbloquear

AI-generated

Summary

Updates the ZapGate instance’s WhatsApp blocklist by blocking or unblocking a phone number.

Inputs

  • Número (required) — Phone number with country calling code; enter digits only (for example, 5511999999999).
  • Bloquear — Set to true to block the number or false to unblock it; defaults to true.

Output shape

A single JSON item containing the ZapGate API response.

Uses the instance credentials and sends a POST request to the instance blocklist endpoint. The operation-scoped properties are empty, but the source declares the number and block fields for this operation.

Examples

Example 1: Block a number

Set Número to 5511999999999 and leave Bloquear at its default true value.

Example 2: Unblock a number

Set Número to 5511999999999 and Bloquear to false.

Links

Discussion