POST /message/sendTemplate/{instance}

Send a template message (legacy)

Request body

number string · 34600000000 required
template object · {"name":"hello_world","language":{"code":"en"}} required

cURL example

curl -X POST https://{name}.eai.menustudioai.com/message/sendTemplate/{instance} \
  -H "apikey: YOUR_INSTANCE_TOKEN" \
  -d '{"number":"34600000000","template":{"name":"hello_world","language":{"code":"en"}}}'

Try it live

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

Sent as the JSON request body.

Response

example response — run a test to see live data
{
  "status": "SUCCESS",
  "error": false,
  "response": {
    "message": "Template sent"
  }
}