API referenceSections

Alerts and webhooks

8 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/tenants/{tid}/alertsThe tenant's alert channels with their latest deliveries (ADR 0037)
POST/api/v1/tenants/{tid}/alertsAdd a webhook or Telegram channel; a webhook's signing secret is shown once
DELETE/api/v1/tenants/{tid}/alerts/{cid}Remove an alert channel
PUT/api/v1/tenants/{tid}/alerts/{cid}/eventsChoose which events the channel receives
POST/api/v1/tenants/{tid}/alerts/{cid}/testSend a test message now; the answer says whether it arrived
GET/api/v1/tenants/{tid}/webhooksEndpoints that receive signed events (ADR 0051)
POST/api/v1/tenants/{tid}/webhooksAdd an endpoint; its signing secret is in this answer only
DELETE/api/v1/tenants/{tid}/webhooks/{id}Remove an endpoint and what it had still to receive