create_destination
Create a notification destination (channel) that monitors can route alerts to. Provide the fields for the chosen kind; unrelated fields are ignored. Non-email kinds are usable immediately; email kinds are created unverified and send a confirmation link that must be clicked before they can be attached to a route. Returns the new channel id — pass it to set_route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | webhook: the POST target URL. | |
| kind | Yes | One of: webhook, email, slack, discord, telegram, ntfy, pushover, msteams, googlechat. | |
| name | Yes | Human-readable destination name, e.g. 'On-call Slack'. | |
| token | No | pushover: the application API token. | |
| secret | No | webhook: shared secret used to sign the HMAC-SHA256 payload. | |
| address | No | email: the destination email address (a confirmation link is sent). | |
| chat_id | No | telegram: the target chat id. | |
| user_key | No | pushover: the user or group key. | |
| bot_token | No | telegram: the bot token from @BotFather. | |
| topic_url | No | ntfy: the full topic URL, e.g. 'https://ntfy.sh/my-topic'. | |
| webhook_url | No | slack / discord / msteams / googlechat: the incoming-webhook URL. |