PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Privacidade → Listar Bloqueados

AI-generated

Summary

List blocked contacts for a specified WhatsApp instance.

Inputs

  • instanceId (required) — ID of the WhatsApp instance to query.

Output shape

a list of blocked contacts in JSON format from the specified WhatsApp instance

Returns the blocked contacts as an array; ensure the instance ID is valid and connected. Errors include unauthorized (invalid API key) or not found (invalid instance). No pagination indicated.

Examples

Example 1: Retrieve all contacts that the WhatsApp instance 'minha-instancia' has blocked.

Set 'instanceId' to 'minha-instancia' and select the 'Listar Bloqueados' operation under the 'Privacidade' resource.

Discussion