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)
notification sms {
post = https://{AccountSid}:{Authtoken}@api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages.json
body = Body={{.}}&To={ToPhoneNumber}&From={FromPhoneNumber}
}
From gist: https://gist.github.com/aodj/58535c4c152b6073eaf5