SMS via Twilio
Getting started #
This guide assumes you've followed our Getting Started documentation to know where you can configure your notifications.
Oh Dear sends the SMS through your own Twilio account. Twilio bills you for each message. Prefer Vonage? We support SMS via Vonage too.
What you need from Twilio #
Sign in to the Twilio Console. You'll find these on the home page, under Account Info:
- Account SID: starts with
AC. - Auth Token: click Show to see it.
You also need something to send from. Pick one:
- From: a phone number you bought in Twilio, like
+15551234567. In some countries you can use a sender name instead, likeOhDear. Twilio lists which countries accept a sender name. - Messaging Service SID: starts with
MG. Use this if you send through a Twilio Messaging Service. Leave From empty in that case.
Sending to US numbers from a regular 10-digit US number? US carriers then require A2P 10DLC registration. You register in Twilio and send through the Messaging Service it gives you.
Configure Twilio in Oh Dear #
Go to the notifications screen and add a new destination. Choose SMS (Twilio) and fill in the values from the section above. Then add:
- To: the phone number that gets the alerts, in international format. For example
+32470123456.
Testing the SMS alerts #
Head over to the Send test tab and send a test. If Twilio refuses the message, Oh Dear shows Twilio's error code and a link that explains it.
If the test looks fine but no SMS arrives, check the Messaging logs in your Twilio Console. Twilio shows there why a message was not delivered.
Feel free to reach out via support@ohdear.app or on X via @OhDearApp if you have any other questions. We'd love to help!