Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of connections #12

Open
Gustaps opened this issue Mar 19, 2024 · 1 comment
Open

Status of connections #12

Gustaps opened this issue Mar 19, 2024 · 1 comment

Comments

@Gustaps
Copy link

Gustaps commented Mar 19, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants