--- title: "Notification channel fields" description: Every field of a notification channel with its type, requirement, visibility rule and CLI flag. "og:url": "https://docs.levelrail.com/notification-channel-fields" --- {/* Generated by scripts/gen-field-docs from internal/fielddesc. Do not edit by hand. */} The dashboard form, the CLI flags and the API all read one field registry, served at `GET /api/v1/field-descriptors/notification-channels`. Secrets are write only: they are accepted on create and update and never returned. | Field | Type | Required | Shown when | CLI flag | Description | | --- | --- | --- | --- | --- | --- | | `kind` (kind) | select | yes | always | `--kind` | channel kind, one of the listed kinds | | `name` (name) | string | yes | always | `--name` | display name for the channel | | `notify_url` (notify_url_webhook) | string, write only | yes | `kind` is slack or discord or telegram or teams or mattermost or lark or rocketchat or webex or googlechat or generic | `--notify-url` | destination: webhook URL, or a Telegram sendMessage URL with chat_id and an optional message_thread_id topic | | `notify_url` (notify_url_email) | string | yes | `kind` is email | none | destination email address | | `notify_url` (notify_url_ntfy) | string, write only | yes | `kind` is ntfy | none | ntfy topic URL | | `notify_url` (notify_url_gotify) | string, write only | yes | `kind` is gotify | none | Gotify message endpoint URL | | `notify_url` (notify_url_matrix) | string, write only | yes | `kind` is matrix | none | Matrix homeserver URL with room (internal room id) and token (bot access token) query parameters | | `notify_url` (notify_url_zulip) | string, write only | yes | `kind` is zulip | none | Zulip server URL with the bot email and API key as user:password and a stream (optional topic) query parameter | | `pushover_user_key` (pushover_user_key) | string, write only | yes | `kind` is pushover | `--pushover-user-key` | Pushover User Key (an alternative to notify-url) | | `pushover_api_token` (pushover_api_token) | string, write only | yes | `kind` is pushover | `--pushover-api-token` | Pushover Application API Token (an alternative to notify-url) | | `pagerduty_routing_key` (pagerduty_routing_key) | string, write only | yes | `kind` is pagerduty | `--pagerduty-routing-key` | PagerDuty Events API v2 Integration/Routing Key (an alternative to notify-url) | | `resend_api_key` (resend_api_key) | string, write only | yes | `kind` is resend | `--resend-api-key` | Resend API Key (an alternative to notify-url) | | `resend_to` (resend_to) | string | yes | `kind` is resend | `--resend-to` | Resend destination email address | | `resend_from` (resend_from) | string | no | `kind` is resend | `--resend-from` | Resend from address, defaults to onboarding@resend.dev | | `opsgenie_api_key` (opsgenie_api_key) | string, write only | yes | `kind` is opsgenie | `--opsgenie-api-key` | Opsgenie API Key (an alternative to notify-url) | | `enabled` (enabled) | bool | no | always | none | channel delivery on or paused (CLI: --disabled creates it paused) | | `message_template` (message_template) | text | no | always | `--message-template` | custom text for deploy and alert messages; variables {{app}}, {{author}}, {{commit}}, {{url}}, {{status}}, {{image}}, {{error}}, {{rule}}, {{resource}}, {{value}}; empty keeps the default | | `notify_device_login` (notify_device_login) | bool | no | always | `--notify-device-login` | send a link-only notice here when a CLI login is waiting for approval (never includes the code) | | `notify_device_login_expired` (notify_device_login_expired) | bool | no | always | `--notify-device-login-expired` | send a link-only notice here when a pending CLI login expires unapproved (never includes the code) |