Kilo IoT Connections API
The Connections API from Kilo IoT — 2 operation(s) for connections.
The Connections API from Kilo IoT — 2 operation(s) for connections.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/kiloiot-io:kiloiot-io-connections-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: KiloIoT Public Connections API
version: 1.0.0
description: 'Public API for the KiloIoT IoT platform.
## Authentication
All endpoints require API key authentication:
| Header | Description |
|--------|-------------|
| `X-API-Key` | Your API key (format: `kilo_`) |
| `X-Organization-Id` | Your organization UUID |
## Protocols
This API exposes two types of endpoints:
- **REST** — standard HTTP methods (GET, POST, PUT, DELETE). Use REST for cloud and SaaS integrations.
- **gRPC** — available via gRPC clients; intended for on-premises deployments. Documented here as POST endpoints at their gRPC path for reference.
If you are unsure which protocol to use, **choose REST** unless you are running an on-premises installation.
## Scopes
API keys are scoped. Each endpoint lists its required scope (e.g. `devices:read`). Requests with insufficient scopes receive a `403 Forbidden` response.'
servers:
- url: https://api.kiloiot.io
description: KiloIoT API
security:
- ApiKeyAuth: []
OrgId: []
tags:
- name: Connections
paths:
/api/connections:
get:
operationId: listConnections
summary: List connections
description: 'Retrieve device connections, optionally filtered by type.
**Required scope:** `connections:read`'
tags:
- Connections
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
connections:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
type:
type: string
organizationId:
type: string
configuration:
type: object
createdAt:
type: string
updatedAt:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
parameters:
- name: organizationId
in: query
required: true
description: Organization ID
schema:
type: string
- name: type
in: query
required: false
description: Filter by connection type (e.g. lorawan, mqtt_cloud, mqtt_external)
schema:
type: string
/api/connections/{id}:
get:
operationId: getConnection
summary: Get connection
description: 'Retrieve a device connection by ID.
**Required scope:** `connections:read`'
tags:
- Connections
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
configuration:
type: object
connectedDevices:
type: integer
example: 5
connectorId:
type: integer
example: 3
connectorType:
type: string
enum:
- lorawan
- mqtt_cloud
- mqtt_external
- tracker
example: mqtt_cloud
createdAt:
type: string
example: '2024-01-15T10:30:00Z'
id:
type: string
example: 550e8400-e29b-41d4-a716-446655440000
name:
type: string
example: My MQTT Cloud Connection
organizationId:
type: string
example: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
updatedAt:
type: string
example: '2024-01-20T14:22:00Z'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
parameters:
- name: id
in: path
required: true
description: Connection UUID
schema:
type: string
components:
responses:
Forbidden:
description: Insufficient permissions (missing required scope)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: permission_denied
message: 'API key lacks required scope: devices:write'
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: unauthenticated
message: missing X-API-Key header
schemas:
Error:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: 'API key for authentication (format: `kilo_<key>`)'
OrgId:
type: apiKey
in: header
name: X-Organization-Id
description: Organization UUID that the API key belongs to
x-tagGroups:
- name: REST API
tags:
- Users
- Devices
- Commands
- Sensors
- Telemetry
- Connections
- Connectors
- Dashboards
- Orgs
- Subscriptions
- Api-Keys
- Rules
- name: On-Prem / Advanced (gRPC)
tags:
- User Profile (gRPC)
- Digital Device (gRPC)
- Sensor Template (gRPC)
- Connector (gRPC)
- Connection (gRPC)
- Dashboard (gRPC)
- Widget (gRPC)
- Organizations (gRPC)