Skip to main content
Learn more about Slack alerts in the Slack Alerts documentation.
Use Slack Alert Channels to send notifications to Slack channels when checks fail or recover. The examples below show how to configure Slack alerting for different scenarios.

Configuration

Configure Slack-specific settings:

Slack Alert Channel Options

URL
required
Slack webhook URL for incoming messages. This is the endpoint where Checkly will send alert notifications.Usage:
Examples:
Use cases: Team notifications, webhook integration, secure credential storage, multi-team alerting.
string
Target Slack channel or user for notifications. Can override the default channel configured in the webhook.Usage:
Examples:
Use cases: Team-specific alerts, direct notifications, alert categorization, noise management.

General Alert Channel Options

boolean
Whether to send notifications when checks recover from failure or degraded state.Usage:
Examples:
Use cases: Recovery confirmation, operational awareness, noise reduction.
boolean
Whether to send notifications when checks fail.Usage:
Examples:
Use cases: Incident response, failure monitoring, operational alerting.
boolean
Whether to send notifications when API checks degrade (performance thresholds exceeded but not failed).Usage:
Examples:
Use cases: Performance monitoring, early warning systems, SLA tracking.
boolean
Whether to send notifications for SSL certificate expiry warnings.Usage:
Examples:
Use cases: Certificate management, security compliance, proactive maintenance.
number
Number of days before SSL certificate expiry to send notifications. Only relevant when sslExpiry is enabled.Usage:
Examples:
Use cases: Certificate renewal planning, compliance management, operational scheduling.

Examples

Setting Up Slack Webhooks

Find more information on how to set up a new Slack webhook in the Slack alert channel documentation.

Environment Variables

Store your Slack webhook URL securely using environment variables:
Webhook Security: Keep your Slack webhook URLs secure. Anyone with access to the URL can send messages to your Slack channels.
Channel Override: The channel parameter can override the default channel configured in your Slack webhook. Use #channel-name for channels or @username for direct messages.