Z-API by @icarodev icon

Z-API by @icarodev

Integração com Z-API WhatsApp - by @icarodev

Message → Send Audio

AI-generated

Summary

Sends an audio file to a WhatsApp contact via Z‑API.

Inputs

  • phone (required) — Phone number with country code (e.g., 5511999999999)
  • audioUrl (required) — URL of the audio to send

Output shape

a single JSON object returned by the Z‑API /send-audio endpoint

The exact payload varies by API version; typically includes status or message ID, but may also return an error object.

Examples

Example 1: Send a pre‑hosted audio clip to a contact

Phone: 5511999999999, Audio URL: https://example.com/audio.mp3

Links

Discussion