Files
medusa-store/packages/medusa-plugin-twilio-sms
Sebastian Rindom 668e8a7402 fix: release assist
2021-06-22 15:19:33 +02:00
..
2020-09-09 10:52:58 +02:00
2021-06-09 19:00:52 +02:00
2020-09-09 10:52:58 +02:00
2021-06-22 15:19:33 +02:00
2021-05-26 14:43:10 +02:00

medusa-plugin-sendgrid

Twilio SMS / Messaging plugin.

Plugin 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!" })