/node-twilio-integration

This a basic node project for node-Twilio integration demo

Primary LanguageJavaScriptMIT LicenseMIT

node-twilio-integration

Codacy Badge Node.js CI CodeQL

This a basic node project for sample node-Twilio integration

Routes

POST /sms

Content-Type: application/json

{
  "recipient" : "+<COUNTRY_CODE><PHONE_NUMBER>",
  "message": "Hello, this is a sms sent to one person!"
}

POST /smsUsingMessageServiceID

Content-Type: application/json

{
  "recipient" : "+<COUNTRY_CODE><PHONE_NUMBER>",
  "sms": "Hello, this is a sms sent to one person!"
}

POST /sendGroupSMS

Content-Type: application/json

{
  "recipients" : [
      "+<COUNTRY_CODE><PHONE_NUMBER_1>",
      "+<COUNTRY_CODE><PHONE_NUMBER_2>",
      "+<COUNTRY_CODE><PHONE_NUMBER_3>",
      "+<COUNTRY_CODE><PHONE_NUMBER_4>",
      "+<COUNTRY_CODE><PHONE_NUMBER_5>"
    ],
  "message": "Hello, this is a group sms"
}