Files
medusa-store/packages/medusa-plugin-twilio-sms
Carlos R. L. Rodrigues a94d9816fe chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
2022-09-13 07:42:33 -03:00
..
2020-09-09 10:52:58 +02:00
2022-07-05 09:51:23 +02:00
2020-09-09 10:52:58 +02:00
2022-05-20 11:40:57 +03:00

medusa-plugin-twilio-sms

Twilio SMS / Messaging plugin.

Learn more about how you can use this plugin in the documentaion.

Options

{
  account_sid: "[twilio messaging account sid]", // required
  auth_token: "[twilio massaging authentication token]", // required
  from_number: "[the number used as sender SMS]",
}

Dynamic usage

You can resolve the Twilio SMS service to dynamically send SMS's via Twilio.

Example:

const twilioSmsService = scope.resolve("twilioSmsService")
twilioSmsService.sendSms({ to: "+4500112233", body: "Hello world!" })