Skip to main content
The notification infrastructure is in place for all channels listed below, but individual channel readiness may vary. Verify each channel with the test endpoint before relying on it in production.

Available channels

AI Review includes implementations for the following notification channels:

Configure notifications

Retrieve current configuration

Returns the stored notification configuration object.

Create or replace configuration

Replaces the entire notification configuration. Accepted fields:

Partial update

Accepts the same fields as POST but only updates the supplied keys.

Channel configuration

Set slackWebhookUrl to your Slack incoming webhook URL and include "slack" in the channels array:

Test a channel

Before relying on a channel, send a test notification:
Valid values for channel: email, webhook, slack, wechat, dingtalk, feishu, push. The response contains a result field with the outcome from the notification manager.

Push notifications

Browser Push notifications use the Web Push protocol and require a VAPID key pair.

Generate VAPID keys

Returns a new key pair:
Store both keys in your notification configuration. The public key must be provided to browser clients when registering subscriptions.

Manage subscriptions

A subscription payload (for POST /push/subscribe) requires:
The browser-side push management UI is available under the Notifications section in the dashboard. Enable push in your browser settings before subscribing.

Notification history

List notifications

Supports query parameters for filtering and pagination:

Get notification detail

Returns full detail for a single notification record.

Get statistics

Accepts optional startDate and endDate query parameters. Returns aggregate stats for the specified period.

Pending and failed notifications

Returns lists of pending or failed notification records. Use PATCH /api/notifications/history/:id to update status and retry as needed.

Clean old notifications

Deletes notification records older than the specified number of days.