---
title: "Get connection"
method: GET
path: "/api/connections/{id}"
tags: ["Connections"]
---

# Get connection

`GET /api/connections/{id}`

## Request

- Base URL: `https://api.kiloiot.io`
- URL: `https://api.kiloiot.io/api/connections/{id}`
- Auth: API key in header `X-API-Key` and API key in header `X-Organization-Id`

Retrieve a device connection by ID.

**Required scope:** `connections:read`

## Path parameters

- `id` string, required

## Response `200`

OK

- object
  - `configuration` object
  - `connectedDevices` integer
  - `connectorId` integer
  - `connectorType` 'lorawan' | 'mqtt_cloud' | 'mqtt_external' | 'tracker'
  - `createdAt` string
  - `id` string
  - `name` string
  - `organizationId` string
  - `updatedAt` string

## Other responses

- `401`: Missing or invalid API key
- `403`: Insufficient permissions (missing required scope)

---

[API](https://skmtc.dev/kiloiot/apis/kiloiot-public-api.md) · [All operations](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/revisions/faf39bde186c?raw)
