GET

https://{server-url}

/
instance
/
connectionState
/
{instance}
curl --request GET \
  --url https://{server-url}/instance/connectionState/{instance} \
  --header 'apikey: <api-key>'
{
  "instance": {
    "instanceName": "teste-docs",
    "state": "open"
  }
}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Response

200 - application/json
instance
object