create_alert_destination
Create a channel-based alert destination: a Slack channel the organisation's Ankra Slack app posts to, or a Microsoft Teams channel the Ankra bot is installed in. The channel must come from list_alert_destination_channels. Webhook destinations (Discord, PagerDuty, custom webhooks, Slack incoming webhooks) carry their URL as a credential and are created in the portal or with the CLI, never here. A new destination receives nothing until a notification route points at it (create_notification_route).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Destination name, unique in the organisation. | |
| enabled | No | Whether the destination delivers (default true). | |
| template | No | Optional message template; omit for the default. | |
| channel_id | Yes | Channel id from list_alert_destination_channels. | |
| description | No | Optional description. | |
| integration_type | Yes | slack for a Slack channel the organisation's Ankra Slack app posts to, teams for a Microsoft Teams channel the Ankra bot is installed in. |