Add Notification
addNotificationCreate a new notification channel for Uptime Kuma, specifying type and configuration fields like Slack webhook URL or ntfy topic.
Instructions
Creates a new notification channel. The configuration fields depend on the notification type (e.g., for slack: webhookURL; for ntfy: ntfyTopic, ntfyServerUrl; for discord: discordWebhookUrl).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this notification channel | |
| type | Yes | Notification type (e.g. slack, ntfy, discord, telegram, webhook, smtp) | |
| config | Yes | Type-specific configuration fields (e.g. webhookURL for slack, ntfyTopic for ntfy) | |
| isDefault | No | Enable by default for new monitors | |
| applyExisting | No | Apply this notification to all existing monitors now |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| msg | No |