- medusa-file-minio@1.0.5 - medusa-file-s3@1.1.1 - medusa-file-spaces@1.2.1 - medusa-fulfillment-webshipper@1.3.1 - @medusajs/medusa-js@1.2.1 - medusa-payment-paypal@1.2.1 - medusa-payment-stripe@1.1.39 - medusa-plugin-algolia@0.2.1 - medusa-plugin-contentful@1.2.1 - medusa-plugin-mailchimp@1.1.40 - medusa-plugin-meilisearch@0.2.1 - medusa-plugin-sendgrid@1.3.1 - medusa-plugin-slack-notification@1.3.1 - medusa-plugin-twilio-sms@1.2.1 - medusa-react@0.3.1 - @medusajs/medusa@1.3.1
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!" })