medusa-plugin-twilio-sms
Twilio SMS / Messaging plugin.
Learn more about how you can use this plugin in the documentaion.
Options
12345{account_sid: "[twilio messaging account sid]", // requiredauth_token: "[twilio massaging authentication token]", // requiredfrom_number: "[the number used as sender SMS]",}
Dynamic usage
You can resolve the Twilio SMS service to dynamically send SMS's via Twilio.
Example:
12const twilioSmsService = scope.resolve("twilioSmsService")twilioSmsService.sendSms({ to: "+4500112233", body: "Hello world!" })