Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Contatos → Block Contact

AI-generated

Summary

Set the blocked status of a contact by specifying its Contact ID and whether to block or unblock it.

Inputs

  • Contact ID — ID of the contact to be blocked or unblocked; defaults to 1 if not specified.
  • Blocked — Boolean flag to determine blocking status: true to block the contact, false to unblock; defaults to true.

Output shape

A single response object confirming the block/unblock action for the specified contact.

The operation sends a body payload with 'contactId' and 'blocked' fields. Optional request settings like batching, proxy, timeout, and SSL handling can be configured but do not affect the shape of the response.

Links

Discussion