Link channels to an alert rule
Alert Rules
Link channels to an alert rule
Replaces the rule's subscribed channels with the supplied set. Each entry is { alert_channel_id, min_severity? }; alert_channel_id must be a channel in your workspace. Omit min_severity (or null) for no severity floor. Pass an empty array to clear.
PUT
Link channels to an alert rule
Authorizations
Authorization method required to allow user to access the api endpoints.
Path Parameters
The alert rule id.
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Body
application/json
Channels to subscribe this rule to, each with an optional severity floor. Replaces the existing set (pass an empty array to clear all).
Response
200 - application/json
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Example:
"workspace-123"
Example:
"GasPressure"
Example:
"high"
Example:
Available options:
BLOCK, TICK Example:
"BLOCK"
Example:
true
Incremented each time the rule parameters change. Starts at 1.
Example:
1
Example:
Example:
"2026-05-14T12:00:00.000Z"
Example:
"2026-05-14T12:00:00.000Z"
Example:
"High gas on eth"
Example:
"eth"
Example:
"alert-runner-eth-v2"
Last modified on July 22, 2026