Actions51
- API Actions
- Chat Actions
- Contact Actions
- Group Actions
- Instance Actions
- Message Actions
- Message Queue Actions
- Product Actions
- Status Actions
Message → Send Audio
AI-generatedSummary
Send audio
Inputs
- phone (required) — Contact number (or group ID) in international format, digits only. Example: 5511999999999.
- delayMessage — Delay in seconds before sending the message. Z-API recommends between 1 and 15 seconds. If 0, uses the API default behavior.
- audio (required) — Audio link or Base64 (Z-API: attribute "audio")
Output shape
API response object (typically includes success status)
May be empty on success; errors are thrown as NodeOperationError
Examples
Example 1: Send an audio file to a contact
Phone: 5511999999999, Audio: https://example.com/audio.mp3, Delay: 2 seconds
Example 2: Send base64‑encoded audio to a group
Phone: 5511999999999, Audio: data:audio/mp3;base64,..., Delay: 0
Example 3: Send audio with a 5‑second delay
Phone: 5511999999999, Audio: https://example.com/sound.mp3, Delay: 5 seconds