Forgecroft Docs
Guides / Notifications

Notification Channels

Configure Slack and email channels to receive run status updates and approval requests.

Channel Types

TypeDescription
slackSend to a Slack channel
emailSend to an email address

Creating a Notification Channel

POST /notification-configs
{
  "name": "Platform Alerts",
  "channel_type": "slack",
  "value": "#platform-alerts",
  "slack_connection_id": "slack-conn-uuid"
}

For email:

POST /notification-configs
{
  "name": "DevOps Email",
  "channel_type": "email",
  "value": "devops@example.com"
}
FieldTypeRequiredDescription
namestringYesMust be unique per org
channel_typestringYesslack or email
valuestringYesSlack channel name or email address
slack_connection_idUUIDYes for slackReference to a connected Slack workspace

Secret Storage

The actual value (email address or Slack channel) is stored in a secure vault. The database stores only a masked hint:

Testing a Channel

POST /notification-configs/{id}/test

Sends a fake “completed” run event with dummy data to verify the channel works.

Rotating the Secret

POST /notification-configs/{id}/secret
{
  "value": "new-channel@example.com"
}

Updates both the vault secret and the masked hint in the database.

Promoting a Channel

POST /notification-configs/{id}/promote

Removes the user attachment from the notification config, making it org-wide. After promotion, any org member can manage targets on this config.