Skip to main content
Learn more about Webhook alerts in the webhook alert documentation.
Use Webhook Alert Channels to send HTTP requests to any URL when checks fail or recover. This is the most flexible alert channel type, allowing integration with any service that accepts HTTP webhooks.

Configuration

Configure webhook-specific settings:

Webhook Alert Channel Options

URL
required
Target URL for the webhook request. This is where Checkly will send the HTTP request when alerts are triggered.Usage:
Examples:
Use cases: Service integration, webhook endpoints, secure URL storage, API communication.
string
required
HTTP method for the webhook request. Supported methods: GET, POST, PUT, PATCH, HEAD, DELETE.Usage:
Examples:
Use cases: RESTful API integration, service-specific requirements.
string
Friendly name for the webhook channel to identify it in your Checkly dashboard.Usage:
Examples:
Use cases: Integration identification, operational clarity.
string
Request body template (commonly JSON) with Handlebars-style variables that are replaced with alert data.Usage:
Examples:
Use cases: Custom message formatting, service-specific payloads, data transformation.
array
Array of HTTP headers to include in the webhook request. Each header is an object with key and value properties.Usage:
Examples:
Use cases: Authentication, content type specification, custom metadata, service requirements.
array
Array of query parameters to include in the webhook URL. Each parameter is an object with key and value properties.Usage:
Examples:
Use cases: API requirements, metadata passing, GET request data, service routing.

General Alert Channel Options

boolean
Whether to send webhook requests when checks recover from failure or degraded state.Usage:
Examples:
Use cases: Recovery confirmation, operational awareness, noise reduction.
boolean
Whether to send webhook requests when checks fail.Usage:
Examples:
Use cases: Incident response, failure monitoring, operational alerting.
boolean
Whether to send webhook requests 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 webhook requests 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 webhook requests. Only relevant when sslExpiry is enabled.Usage:
Examples:
Use cases: Certificate renewal planning, compliance management, operational scheduling.

Template Configuration

Learn more about using environment and predefined variables in your webhook template in the webhook documentation.

Examples

Environment Variables in Templates

Use environment variables in your webhook templates for sensitive data:
Security: Be careful with sensitive data in webhook templates. Use environment variables for API tokens and secrets.