# List a connector's connections

Source: https://docs.vlayers.ai/reference/hosting/list-workspace-connections

`GET /v1/workspace-connectors/{name}/connections` · scope `workspace:read`

Lists the connections of one of your connectors, each with the address to give the provider and whether an agent answers it yet.

Requires an API key with the `workspace:read` scope.

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `name` | path | string | yes | The connector name: the last part of `ws/<workspace>/<name>`. Example: `"telegram"` |

## Request

cURL:

```bash
curl "https://api.vlayers.ai/v1/workspace-connectors/$CONNECTOR_NAME/connections" \
  -H "Authorization: Bearer $VOICELAYER_API_KEY"
```

TypeScript:

```ts
import { VoiceLayer } from '@voicelayer/api';

const voicelayer = new VoiceLayer();

const { connections } = await voicelayer.hosting.listWorkspaceConnections('<connector-name>');
console.log(connections);
```

Python:

```python
from voicelayer import VoiceLayer

vl = VoiceLayer()

result = vl.hosting.list_workspace_connections("<connector-name>")
print(result.connections)
```

## Response `200`

```json
{
  "connections": [
    {
      "connectionId": "0192f5c3-7a8b-7cad-9e2f-3a4b5c6d7e89",
      "connectorId": "ws/0192f5a1-5e6f-7a7b-8c8d-9e0f1a2b3c45/telegram",
      "displayName": "Support bot",
      "status": "READY",
      "host": "api.telegram.org",
      "webhookUrl": "https://api.vlayers.ai/v1/connector-webhooks/ws%2F0192f5a1-5e6f-7a7b-8c8d-9e0f1a2b3c45%2Ftelegram/0192f5c3-7a8b-7cad-9e2f-3a4b5c6d7e89",
      "bound": true
    }
  ]
}
```
