---
title: "Gets a Connection by id"
method: GET
path: "/workspace/{ws_id}/connections/{id}"
tags: ["Connections"]
---

# Gets a Connection by id

`GET /workspace/{ws_id}/connections/{id}`

Gets a Connection by id

## Path parameters

- `id` string, required
- `ws_id` string, required

## Response `200`

ok

- ModelsConnection[]
  - `attributes` ModelsConnectionAttributes
  - `connection_type_id` string
  - `created_at` integer
  - `created_by` string
  - `created_with_o_auth` boolean
  - `creation_location` string
  - `creation_method` string
  - `description` string
  - `display_name` string
  - `external_id` string — ExternalId mapping to external entity identifier associated with this connection (used on revoke/uninstall events e.g.)
  - `full_name` string
  - `id` string
  - `name` string — Connection names are unique per tenant as they are used in playbook YAML
  - `secret_manager` string
  - `status` string
  - `tenant_id` string
  - `updated_at` integer
  - `updated_by` string
  - `workspace_id` string

## Other responses

- `404` — Cannot find Connection

---

[API](https://skmtc.net/blinkops/apis/blink-rest-api.md) · [All operations](https://skmtc.net/blinkops/apis/blink-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blinkops/blink-rest-api/revisions/f043409736b2/schema)
