evolution-manager icon indicating copy to clipboard operation
evolution-manager copied to clipboard

Status of connections

Open Gustaps opened this issue 1 year ago • 1 comments

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...

Gustaps avatar Mar 19 '24 11:03 Gustaps

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" } }

ananiasfilho avatar Nov 13 '24 12:11 ananiasfilho