Skip to main content
A connector stores the credentials and transport settings of one notification provider for an organization. Listing and reading connectors requires alerts.read. Creating, updating, testing, and deleting a connector requires alerts.manage.

Connector types

The type list returns connector_type and the capabilities of every type that the running backend registers. The types are email_smtp, lark_app, lark_webhook, slack_app, slack_webhook, and webhook.
The config object of a connector depends on its type. Every timeout_secs defaults to 10 and accepts 1 through 60. URLs must be absolute http or https URLs. Notification channels explains each provider and its targets.

Create a connector

MoleSignal encrypts the whole config at rest. Responses replace the value of every key that holds a credential with ***. These keys are url, webhook_url, headers, and every key that ends in password, secret, or token. Other keys, such as host, from, and timeout_secs, stay readable. status is unknown until the first test, then connected or error. last_test_status is success or failed. Routing skips a connector with the status error until a later test succeeds.

List and get connectors

The list returns an array of connectors in the shape above. An unknown id answers 404.

Update a connector

Send *** for a masked key to keep the stored secret, or send a new plaintext value to replace it:

Test a connector

Sends one message through the connector. A disabled connector cannot run a test.
A delivery failure still answers 200, with sent set to false and the reason in error, for example unavailable: webhook request failed. The test also updates status, last_tested_at, last_test_status, and last_test_error of the connector.

Delete a connector

A successful delete answers 204 without a body. While a user endpoint, a notification policy, a fallback route, a scheduled log inspection, a status page, or Mole Agent in IM still references the connector, the call answers 409 with notify connector is referenced by user endpoints, policies, default routes, scheduled log inspections, status pages, or Mole Agent in IM. Move the references first.

Errors

Last modified on October 21, 2026