Skip to content

Instantly share code, notes, and snippets.

@aodj
Last active Nov 6, 2015
Embed
What would you like to do?
Sending Twilio SMS alerts from Bosun
notification sms {
post = https://{AccountSid}:{Authtoken}@api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json
body = Body={{.}}&To={ToPhoneNumber}&From={FromPhoneNumber}
}
@aodj

This comment has been minimized.

Copy link
Owner Author

@aodj aodj commented Nov 6, 2015

Swap out AccountSid, AuthToken, ToPhoneNumber and FromPhoneNumber for your credentials/intended recipients. You need to ensure that if the ToPhoneNumber and FromPhoneNumber have + in them, they are urlencoded (ie: as %2B)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment