Use Phone Call Alerts to make voice calls when checks fail or recover. Phone call alerts are the most immediate form of notification, ideal for critical systems requiring instant attention.
Copy
Ask AI
import { PhoneCallAlertChannel } from "checkly/constructs"const callChannel = new PhoneCallAlertChannel("call-channel-1", { phoneNumber: "+1234567890", name: "Tim's phone",})
The phone numbers used for SMS alerting need to be in E.164 format. Stick to the following rules and you’ll be fine:
Prepend international access codes with a + sign
Do not use any white spaces
Use up to 15 characters
Correct Format
Incorrect Format
Copy
Ask AI
// US numbersconst usCall = new PhoneCallAlertChannel('us-call', { phoneNumber: '+15551234567' // +1 (country code) + area code + number})// UK numbersconst ukCall = new PhoneCallAlertChannel('uk-call', { phoneNumber: '+447911123456' // +44 (country code) + mobile number})// German numbersconst deCall = new PhoneCallAlertChannel('de-call', { phoneNumber: '+491701234567' // +49 (country code) + mobile number})// Australian numbersconst auCall = new PhoneCallAlertChannel('au-call', { phoneNumber: '+61412345678' // +61 (country code) + mobile number})
Copy
Ask AI
// ❌ Don't use these formats:// Missing country codephoneNumber: '5551234567'// With spaces or dashesphoneNumber: '+1 555-123-4567'// With parenthesesphoneNumber: '+1 (555) 123-4567'// Domestic formatphoneNumber: '(555) 123-4567'
Use Sparingly: Phone calls are the most intrusive form of notification. Reserve them for truly critical systems where immediate human intervention is required.
Recovery Notifications: Consider whether recovery calls are necessary. For some critical systems, knowing when the system recovers is as important as knowing when it fails.