ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Etiquetas → Enviar Áudio

AI-generated

Summary

Sends an audio message to a WhatsApp number through the configured ZapGate instance. Provide the recipient and audio media as a URL, base64 data, or an incoming binary field; an optional caption is included in the request.

Inputs

  • to (required) — Recipient phone number with country code, digits only; group chats can use a JID.
  • mediaSource (required) — Choose URL, Base64 / Text, or Binary (item field) as the audio source.
  • url (required) — Audio URL, when mediaSource is URL.
  • base64 (required) — Raw base64 or a base64 data URL, when mediaSource is Base64 / Text.
  • binaryPropertyName (required) — Incoming item binary property name, when mediaSource is Binary; defaults to data.
  • mimetype — Optional MIME type for base64 or binary input; otherwise inferred from a data URL or binary item, with application/octet-stream as fallback.
  • filename — Optional filename for base64 or binary input; defaults to file if unavailable.
  • caption — Optional caption sent with the audio.

Output shape

One JSON item per input item, paired with its corresponding input item.

Returns the ZapGate API response as JSON; a non-object response is wrapped as {"result":"..."}. Requires ZapGate credentials including a base URL, instance ID, and an admin API key or instance token. On errors, execution fails unless Continue On Fail is enabled, in which case the item contains an error field.

Links

Discussion