EvolutionAPI / evolution-manager

Evolution Manager é uma interface open-source para gerenciar a Evolution API, simplificando a criação e administração de instâncias API com recursos avançados e integrações diversas.
https://manager.evolution-api.com
MIT License
92 stars 170 forks source link

Status of connections #12

Open Gustaps opened 8 months ago

Gustaps commented 8 months ago

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

ananiasfilho commented 3 weeks 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" } }