Last active
November 6, 2015 15:59
-
-
Save aodj/58535c4c152b6073eaf5 to your computer and use it in GitHub Desktop.
Sending Twilio SMS alerts from Bosun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notification sms { | |
post = https://{AccountSid}:{Authtoken}@api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json | |
body = Body={{.}}&To={ToPhoneNumber}&From={FromPhoneNumber} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swap out
AccountSid
,AuthToken
,ToPhoneNumber
andFromPhoneNumber
for your credentials/intended recipients. You need to ensure that if theToPhoneNumber
andFromPhoneNumber
have+
in them, they are urlencoded (ie: as%2B
)