API Monitoring Guide
Get alerted when Twilio has issues before your users notice failed SMS messages or broken authentication flows. Learn which endpoints to monitor and how to set up proactive alerting.
Twilio powers SMS, voice calls, and two-factor authentication for millions of applications. When it goes down, users can't receive verification codes, customer notifications stop, and voice systems fail. This guide covers why you need external monitoring, which endpoints to track, and how to respond when Twilio has issues.
Twilio maintains their own status page at status.twilio.com. So why set up external monitoring?
External monitoring catches issues in 1-2 minutes, not 10-15. That gives you time to enable email-based OTP or bypass codes before users are locked out.
Focus on the Twilio services your application depends on most:
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}.json
Account info endpoint. Requires Basic Auth. Simple health check that confirms API availability.
GET https://verify.twilio.com/v2/Services
Verify API for 2FA/OTP. Critical if you use Twilio Verify for user authentication.
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json
Messages endpoint. Monitor to verify SMS sending capability is available.
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls.json
Voice calls endpoint. Monitor if you depend on voice features or IVR systems.
GET https://lookups.twilio.com/v2/PhoneNumbers/+15108675310
Lookup API. Monitor if you use phone number validation in signup flows.
Authentication note: Twilio uses HTTP Basic Auth. Your Account SID is the username and Auth Token is the password. In UptimeSignal, add a custom header: Authorization: Basic {base64(SID:Token)}.
In Twilio Console, find your Account SID and Auth Token on the dashboard. These are used for Basic Auth.
Add a new HTTP monitor with these settings:
Set up your preferred alert channels:
If you use Twilio Verify for OTP codes, add a separate monitor for the Verify API to catch authentication-specific issues independently.
Configure your monitors to alert on these conditions:
Check for "status": "active" in the account endpoint response. This confirms your Twilio account is active and not suspended, which would also prevent messaging.
When your monitoring alerts you to a Twilio issue, here's how to respond:
Check status.twilio.com and look for your specific region and service. Twilio often has regional issues, so the global status may not reflect your situation.
If 2FA is affected, immediately enable backup methods: email-based OTP, TOTP authenticator apps, or pre-generated bypass codes. Communicate the temporary change to users on your status page.
If SMS notifications are failing, queue messages in your application and implement exponential backoff retry logic. Most notifications can be delayed without major impact.
For critical SMS workflows, maintain a secondary provider (like AWS SNS or Vonage). Switch traffic to the backup provider when Twilio is down, and switch back once recovery is confirmed.
api.twilio.com/2010-04-01/Accounts/{SID}.json) for general health. Add the Verify API if you use 2FA, and the Messages endpoint if SMS delivery is business-critical. Use Basic Auth with your Account SID and Auth Token.
Authorization: Basic {base64(SID:Token)}. You can generate the base64 value using our Base64 tool.
Add Twilio to your monitors and get alerted on issues instantly. Free tier includes 25 monitors.
Start monitoring free →No credit card required. Commercial use allowed.