Skip to content

Instantly share code, notes, and snippets.

Last active Nov 6, 2015
What would you like to do?
Sending Twilio SMS alerts from Bosun
notification sms {
post = https://{AccountSid}:{Authtoken}{AccountSid}/Messages.json
body = Body={{.}}&To={ToPhoneNumber}&From={FromPhoneNumber}

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