Learn more about Webhook alerts in the webhook alert documentation.
Configuration
- Webhook Alert Channel
- General Alert Channel
Configure webhook-specific settings:
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
url | URL | ✅ | - | Target URL for the webhook request |
method | string | ✅ | - | HTTP method: GET | POST | PUT | PATCH | HEAD | DELETE |
name | string | ❌ | - | Friendly name for the webhook channel |
template | string | ❌ | - | Request body template with Handlebars-style variables |
headers | array | ❌ | [] | Array of { key, value } objects for HTTP headers |
queryParameters | array | ❌ | [] | Array of { key, value } objects for query parameters |
webhookSecret | string | ❌ | '' | Value to use as secret for the webhook |
Webhook Alert Channel Options
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.
HTTP method for the webhook request. Supported methods: Examples:Use cases: RESTful API integration, service-specific requirements.
GET
, POST
, PUT
, PATCH
, HEAD
, DELETE
.Usage:Friendly name for the webhook channel to identify it in your Checkly dashboard.Usage:Examples:Use cases: Integration identification, operational clarity.
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 of HTTP headers to include in the webhook request. Each header is an object with Examples:Use cases: Authentication, content type specification, custom metadata, service requirements.
key
and value
properties.Usage:Array of query parameters to include in the webhook URL. Each parameter is an object with Examples:Use cases: API requirements, metadata passing, GET request data, service routing.
key
and value
properties.Usage:General Alert Channel Options
Whether to send webhook requests when checks recover from failure or degraded state.Usage:Examples:Use cases: Recovery confirmation, operational awareness, noise reduction.
Whether to send webhook requests when checks fail.Usage:Examples:Use cases: Incident response, failure monitoring, operational alerting.
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.
Whether to send webhook requests for SSL certificate expiry warnings.Usage:Examples:Use cases: Certificate management, security compliance, proactive maintenance.
Number of days before SSL certificate expiry to send webhook requests. Only relevant when Examples:Use cases: Certificate renewal planning, compliance management, operational scheduling.
sslExpiry
is enabled.Usage: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.