Create a channel
Creates a webhook (the default), email or Slack channel. Slack needs a connected workspace, otherwise 409. Telegram chats are connected in the dashboard. A webhook's signing secret appears only in this response.
Authorization
bearerAuth An API key from POST /v1/api-keys. Keys start with ref_.
In: header
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/channels" \ -H "Content-Type: application/json" \ -d '{ "kind": "slack", "channelId": "string", "channelName": "string" }'{ "id": "string", "label": "string", "stats": { "alerts": 0, "activeAlerts": 0, "lastDeliveryAt": "string", "last7d": { "total": 0, "failed": 0 } }, "createdAt": "string", "kind": "slack", "config": { "channelId": "string", "channelName": "string", "events": [ "mention.spike" ] }}Create an alert
Creates an alert, which pairs a filter with one or more channels. instant mode sends each matching mention as it arrives. hourly sends a digest of the previous full UTC hour at five past, skips hours with no mention above the rule's minimum, takes no schedule and works with Slack, Telegram and webhook channels only. daily sends one digest at schedule.hour in schedule.timezone. weekly sends one a week on schedule.weekday, from 0 for Sunday to 6 for Saturday. filter.anyOf adds OR logic with groups of mention-list conditions. At least one group must match, as well as the rest of the filter.
Delete an alert
Deletes the alert and its delivery history. Its channels stay.