Overview
Create a new alert channel to define how and where you receive notifications when your checks fail or recover. Each alert channel type requires specific configuration parameters.Request Examples
Response Example
Configuration by Type
EMAIL Configuration
EMAIL Configuration
Required Fields:
address(string): Valid email address
SLACK Configuration
SLACK Configuration
Required Fields:
url(string): Slack webhook URL
channel(string): Target Slack channel (e.g., “#alerts”)
- Go to your Slack workspace settings
- Navigate to “Incoming Webhooks”
- Create a new webhook for your desired channel
- Copy the generated webhook URL
WEBHOOK Configuration
WEBHOOK Configuration
Required Fields:Example:
url(string): Target webhook endpointmethod(string): HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD)
headers(array): Custom HTTP headersqueryParameters(array): URL query parameters
SMS Configuration
SMS Configuration
Required Fields:
number(string): Phone number in international format (E.164)name(string): Display name for the SMS alert
- Must start with
+followed by country code - Example:
+1234567890for US numbers
PHONE Configuration
PHONE Configuration
Required Fields:
number(string): Phone number in international format (E.164)name(string): Display name for the phone alert
Code Examples
Best Practices
Naming Conventions
Naming Conventions
Use descriptive names that indicate:
- The team or purpose
- The urgency level
- The communication channel type
- “Engineering Team - Critical Alerts”
- “Marketing Dashboard - Email Notifications”
- “On-call Engineer - SMS Only”
Webhook Security
Webhook Security
- Always use HTTPS endpoints
- Include authentication headers
- Consider IP whitelisting on your webhook endpoint
- Validate webhook payloads in your receiving application
Phone Number Format
Phone Number Format
- Always use E.164 international format
- Include country code with
+prefix - Test phone numbers before using in production
- Consider time zones for phone alerts
Slack Integration
Slack Integration
- Use dedicated channels for monitoring alerts
- Set up appropriate channel permissions
- Consider using Slack’s threading feature for related alerts
- Test webhook URLs before saving
After creating an alert channel, you can subscribe it to specific checks or check groups to receive notifications when those monitors fail or recover. Alert channels can be reused across multiple checks.