POST /message/sendAudio/{instance}

Send an audio message

Request body

number string · 34600000000 required
audio string · https://example.com/note.mp3 required
encoding string · audio/mpeg

cURL example

curl -X POST https://{name}.eai.menustudioai.com/message/sendAudio/{instance} \
  -H "apikey: YOUR_INSTANCE_TOKEN" \
  -d '{"number":"34600000000","audio":"https://example.com/note.mp3"}'

Try it live

requests are proxied by Weai — your token never hits the browser
.eai.menustudioai.com
POST/message/sendAudio/{instance}

Sent as the JSON request body.

Response

example response — run a test to see live data
{
  "key": {
    "remoteJid": "[email protected]",
    "fromMe": true
  },
  "message": {
    "audioMessage": {
      "url": "https://mmg.whatsapp.net/...",
      "ptt": false
    }
  },
  "messageType": "audioMessage"
}