cURL
curl --request GET \ --url https://{server-url}/instance/connectionState/{instance} \ --header 'apikey: <api-key>'
{ "instance": { "instanceName": "teste-docs", "state": "open" } }
Gets the state of the connection
Your authorization key header
Name of the instance to get status connect
Ok
Show child attributes
The name of the instance.
The state of the instance.