ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Enviar Áudio

AI-generated

Summary

Send an audio message to a recipient (individual or group)

Inputs

  • to (required) — Recipient phone number or group JID (must be provided)
  • caption — Optional caption/message text accompanying the audio

Output shape

a JSON object representing the API response, typically containing the sent message ID and status

When continueOnFail is enabled, errors may be returned as an error object; otherwise the operation resolves with a success response.

Examples

Example 1: Send a pre‑uploaded audio file to a group with a caption

mediaSource=base64, to=1551999999999, caption=Oferta especial

Example 2: Send audio via URL to a contact

to=5511999999999, caption=Confirmação de entrega

Example 3: Send audio to a group using a reply button workflow

to=1551999999999, caption=Responder?, buttonType=reply, replyButtons=Sim|yes\nNão|no

Links

Discussion