---
title: "Connection State"
method: GET
path: "/instance/connectionState/{instance}"
tags: ["Instance Controller"]
---

# Connection State

`GET /instance/connectionState/{instance}`

## Request

- Base URL: `https://evolution-example`
- URL: `https://evolution-example/instance/connectionState/{instance}`
- Auth: API key in header `apikey`

Gets the state of the connection

## Path parameters

- `instance` string, required

## Response `200`

Ok

- object
  - `instance` object
    - `instanceName` string: The name of the instance.
    - `state` string: The state of the instance.

## Other responses

- `404`: Instance not found

## Changes

- **2024-11-25** (v2) `c153448703e5`: 5 info
  - api operation id `connectionState` was added
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - api tag `Instance Controller` added
  - api tag `Instance` removed
  - …1 more
- **2024-09-09** (v2) `0c4620ca5ed5`: 5 info
  - api operation id `connectionState` removed and replaced with ``
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `Instance` added
  - api tag `Instance Controller` removed
  - …1 more

[Operation history](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/changes/instance/connectionState/:instance/get.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-api-3.md) - [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/revisions/153363ee7f38?raw)
