evolution-manager
evolution-manager copied to clipboard
Status of connections
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...
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" } }