ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Enviar Mídia no Canal

AI-generated

Summary

Sends an image or video to a WhatsApp channel through the ZapGate instance. Choose the channel JID, media type, and caption, then provide the media as a URL, base64 data, or an incoming binary field.

Inputs

  • JID do canal (required) — The channel JID to receive the media.
  • Tipo — Media type: image (default) or video.
  • Legenda — Optional caption.
  • Origem da Mídia (required) — Select URL, Base64 / Texto, or Binário (campo do item).
  • URL da Mídia — Required when the media source is URL.
  • Base64 — Required for the Base64 source; accepts raw base64 or a base64 data URL.
  • Campo Binário — For the binary source, name the incoming item's binary property; defaults to data.
  • MIME Type — Optional MIME type for base64 or binary media. Binary input uses its own MIME type when available.
  • Nome do Arquivo — Optional filename for base64 or binary media; defaults to file when omitted.

Output shape

A list of items, each containing the ZapGate API response as JSON.

Processes each incoming item separately and preserves item pairing. Requires ZapGate credentials with an instance ID and an admin API key or instance token. On failure, it throws unless Continue On Fail is enabled, in which case that item's JSON contains an error.

Links

Discussion