ZAP Gateway icon

ZAP Gateway

Envia mensagens WhatsApp via ZAP Gateway (Z-API / UAZAPI)

Chat / CRM → Ler Mensagens

AI-generated

Summary

Fetches the message history for a WhatsApp chat from the selected ZAP Gateway instance.

Inputs

  • Instância (required) — Select the configured WhatsApp instance to query.
  • Número de Telefone (required) — Enter the chat’s phone number or chat ID. The node URL-encodes this value in the request path.
  • Incluir Resposta Completa — When enabled, returns all fields from the gateway response. By default, the node keeps only its recognized response fields, including messages only if the gateway exposes them under a field the filter retains.

Output shape

One n8n item per input item, containing the gateway response as JSON.

The request uses GET /chat/{phone}/messages. By default, the response is filtered to recognized fields; the filter does not explicitly include a messages field, so message history may require enabling Incluir Resposta Completa.

Links

Discussion