GET /instance/connectionState/{instance}

Get connection state (open / close)

cURL example

curl https://{name}.eai.menustudioai.com/instance/connectionState/{instance} \
  -H "apikey: YOUR_INSTANCE_TOKEN"

Try it live

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

Payload keys are sent as query parameters.

Response

example response — run a test to see live data
{
  "instance": {
    "instanceName": "my-bot",
    "state": "open"
  }
}