ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Informações → Enviar Áudio

AI-generated

Summary

Sends an audio file to a WhatsApp number through the ZapGate instance. Choose a media source and provide the required recipient; an optional caption can accompany the audio.

Inputs

  • Número (to) (required) — Recipient phone number with country code, digits only; group JIDs are also supported.
  • Legenda (caption) — Optional audio caption.
  • Origem da Mídia (mediaSource) (required) — Choose URL, Base64 / Texto, or Binário (campo do item). Defaults to URL.
  • URL da Mídia (url) (required) — Media URL, required when the source is URL.
  • Base64 (base64) (required) — Raw Base64 or a Base64 data URL, required when the source is Base64 / Texto.
  • Campo Binário (binaryPropertyName) (required) — Name of the incoming item's binary property, required for the binary source; defaults to data.
  • MIME Type (mimetype) — Optional MIME type for Base64 or binary media; inferred from a data URL or binary item when available.
  • Nome do Arquivo (filename) — Optional filename for Base64 or binary media; defaults to file when not supplied.

Output shape

One output item per input item, containing the ZapGate API response as JSON.

The node sends a POST request to the instance's /send-audio endpoint using instance authentication. Errors stop execution unless Continue On Fail is enabled, in which case that item's JSON contains an error field.

Links

Discussion