POST
/message/sendText/{instance}Send a text message
Request body
number string ยท 34600000000 requiredtext string ยท Hello from Weai ๐ requiredcURL example
curl -X POST https://{name}.eai.menustudioai.com/message/sendText/{instance} \
-H "apikey: YOUR_INSTANCE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"number":"34600000000","text":"Hello from Weai ๐"}'Try it live
requests are proxied by Weai โ your token never hits the browser .eai.menustudioai.com
POST
/message/sendText/{instance}Sent as the JSON request body.
Response
example response โ run a test to see live data{
"key": {
"remoteJid": "[email protected]",
"fromMe": true,
"id": "3EB0C85D5A1B2C3D"
},
"message": {
"conversation": "Hello from Weai ๐"
},
"messageType": "conversation",
"messageTimestamp": 1785572500
}