Skip to main content

Overview

A connection links Opsmatic to one of your automation platforms — an n8n instance, a Make.com account, or an OpenClaw gateway. The Connections API lets you manage them without the dashboard. All endpoints require an API key with the connections permission (see Authentication). Credentials you send are never returned in plaintext — responses mask api_key and api_token values. Base URL:

List Connections

Requires connections: read. Returns connections your key can access (your own plus any organization you belong to), newest first.

Query Parameters

Response

api_key / api_token are returned masked. The _credential_lengths object tells you how long the stored secret is without revealing it — useful for confirming a credential was saved.

Create a Connection

Requires connections: write. New connections are created with status: "inactive" until the first successful check.

Body Fields

For OpenClaw connections the response includes an ingest_api_key — a usage-ingestion key scoped to the new connection, returned once. Configure it in the daemon immediately; it can’t be retrieved later. For n8n and Make connections ingest_api_key is null.

Response

Retrieve a Connection

Requires connections: read and access to that connection. Returns a single connection with masked credentials.

Update a Connection

Requires connections: write. Send only the fields you want to change (e.g. rename, rotate a credential, move organizations).

Delete a Connection

Requires connections: delete. Removes the connection and stops all monitoring for it.

Errors

Connecting platforms

Step-by-step setup for n8n, Make.com and OpenClaw

Analytics API

Query the data these connections produce