# Pegar informações da Instância

<mark style="color:blue;">`GET`</mark> `https://api.astraapi.com/api/connection/{{instanceId}}`

#### Path Parameters

| Name                                         | Type   | Description         |
| -------------------------------------------- | ------ | ------------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | Número da instância |

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Seu Token de segurança |

{% tabs %}
{% tab title="200: OK Informações da instância" %}

```json
{
    "connected": true,
    "phone": "557999999999",
    "name": "teste",
    "webhookUrl": "http://google.com"
}
```

{% endtab %}

{% tab title="404: Not Found Informações da instância" %}

```json
"SESSION_NOT_FOUND"
```

{% endtab %}
{% endtabs %}
