cURL
curl --request GET \ --url https://api.botifiy.com/instance/connectionState/{instance} \ --header 'apikey: <api-key>'
{ "instance": { "instanceName": "<string>", "state": "<string>" } }
Get the connection state of an instance
Name of the instance to get status connect
Ok
Show child attributes
Name of the instance
Connection state of the instance (e.g., 'open', 'close')