PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Áudio

AI-generated

Summary

Send an audio message via a specified WhatsApp instance to a recipient number or group JID, optionally as a voice message (PTT).

Inputs

  • ID da Instância (required) — The WhatsApp instance ID used to send the audio message.
  • Número/JID (required) — The recipient's phone number with international dialing code or the group's JID.
  • URL da Mídia (required) — The URL pointing to the audio media to be sent.
  • Enviar como PTT (Áudio de Voz) — Boolean flag to send the audio as a voice message (push-to-talk). Defaults to true.

Output shape

A single JSON object representing the response from the PAPI WhatsApp API confirming the send audio action.

The output contains the API response and may include message IDs or status. Error responses are thrown unless 'continueOnFail' is enabled, in which case error details appear in output.

Discussion