POST /message/sendMedia/{instance}

Send an image / document / audio / video

Request body

number string · 34600000000 required
mediatype string · image required
media string · https://example.com/img.png required
caption string · Look at this

cURL example

curl -X POST https://{name}.eai.menustudioai.com/message/sendMedia/{instance} \
  -H "apikey: YOUR_INSTANCE_TOKEN" \
  -d '{"number":"34600000000","mediatype":"image","media":"https://example.com/img.png","caption":"Look at this"}'

Try it live

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

Sent as the JSON request body.

Response

example response — run a test to see live data
{
  "key": {
    "remoteJid": "[email protected]",
    "fromMe": true,
    "id": "3EB0C85D5A1B2C41"
  },
  "message": {
    "imageMessage": {
      "url": "https://mmg.whatsapp.net/...",
      "caption": "Look at this"
    }
  },
  "messageType": "imageMessage"
}