Open Gustaps opened 8 months ago
Use api. Curl script example curl --location 'https://evolution.yourdomain.com.br/instance/connectionState/instanceName' --header 'apikey: YOUR-API-KEY'
The output is: { "instance": { "instanceName": "my-channel", "state": "connecting/connected/disconnected" } }
Is there a way to check if a connection has been disconnected? Either via a table in a database, or via an API.
I would like to automate this check through N8N, for example...