node package manager

hook.io-twilio

a Hook for sending sms messages, making phone calls, and getting phone calls

hook.io-twilio

a Hook for sending sms messages, making phone calls, and getting phone calls

Hook.io config.json settings

{ 
  "twilio": {
    "sID"       : "123",
    "authToken" : "456"
  }
}
 

Hook.io Events Names

sendSms sends sms text message

 
// 
// smsOptions 
// 
 
var smsOptions = {
  number  : '15555555555',          // number to send sms to 
  message : 'Hello, I am hook.io.'  // sms message 
};
 
myhook.emit('*::sendSms', smsOptions);