ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Plataforma → Enviar Documento

AI-generated

Summary

Sends a document to a WhatsApp recipient through the ZapGate instance. Choose a media source and provide the document URL, Base64 content, or an input item’s binary field; optionally add a caption.

Inputs

  • Número (required) — Recipient phone number with country code, digits only; a group JID can be used for group chats.
  • Origem da Mídia (required) — Select URL, Base64 / Texto, or Binário (campo do item).
  • URL da Mídia (required) — Document URL, shown when the media source is URL.
  • Base64 (required) — Raw Base64 or a Base64 data URL, shown when the media source is Base64 / Texto.
  • Campo Binário (required) — Name of the incoming item’s binary field; defaults to data.
  • MIME Type — Optional MIME type for Base64 or binary input; otherwise inferred from a data URL or binary metadata, falling back to application/octet-stream.
  • Nome do Arquivo — Optional filename for Base64 or binary input; defaults to file if no filename is available.
  • Legenda — Optional document caption.

Output shape

A list of items, one per input item, each containing the ZapGate API response in json.

The request uses the configured ZapGate credentials and instance ID. Each input item triggers a document send; errors stop execution unless Continue On Fail is enabled, in which case that item contains an error field.

Links

Discussion