- medusa-file-spaces@1.0.13 - medusa-payment-adyen@1.0.13 - medusa-payment-klarna@1.0.14 - medusa-payment-stripe@1.0.15 - medusa-plugin-add-ons@1.0.8 - medusa-plugin-brightpearl@1.0.26 - medusa-plugin-contentful@1.0.15 - medusa-plugin-economic@1.0.13 - medusa-plugin-mailchimp@1.0.15 - medusa-plugin-permissions@1.0.13 - medusa-plugin-segment@1.0.15 - medusa-plugin-sendgrid@1.0.14 - medusa-plugin-slack-notification@1.0.13 - medusa-plugin-twilio-sms@1.0.12 - medusa-plugin-wishlist@1.0.13 - medusa-test-utils@1.0.13 - @medusajs/medusa@1.0.53
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!" })