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
Create or replace configuration
Partial update
POST but only updates the supplied keys.
Channel configuration
- Slack
- DingTalk
- Feishu
- Email
- Webhook
- Browser Push
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: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
Manage subscriptions
A subscription payload (for
POST /push/subscribe) requires:
Notification history
List notifications
Get notification detail
Get statistics
startDate and endDate query parameters. Returns aggregate
stats for the specified period.
Pending and failed notifications
PATCH /api/notifications/history/:id to update status and retry as needed.