WhatsApp Messaging icon

WhatsApp Messaging

Send WhatsApp messages — text, images, videos, audio, documents, locations, contacts, polls

Send Audio

AI-generated

Summary

Sends audio or voice notes (PTT) to a WhatsApp recipient via a configured API endpoint.

Inputs

  • to (required) — Recipient — phone number (e.g., 14155551234) or JID (e.g., 1234567890@s.whatsapp.net).
  • audio (required) — Audio URL (https://) or base64-encoded audio data.
  • ptt — Send as a voice note (push-to-talk) instead of regular audio. Defaults to false.
  • options — Optional collection containing quotedMessageId to reply to a specific message.

Output shape

a single record (the API response).

The response shape is determined by the underlying WhatsApp API endpoint.

Examples

Example 1: Send a regular audio file from a URL.

Set to=14155551234, audio=https://example.com/song.mp3, ptt=false

Example 2: Send a voice note (PTT) using base64 data.

Set to=14155551234, audio=, ptt=true

Links

Discussion