- medusa-core-utils@1.1.6 - medusa-file-spaces@1.1.9 - medusa-fulfillment-manual@1.1.6 - medusa-fulfillment-webshipper@1.1.9 - medusa-interfaces@1.1.7 - medusa-payment-adyen@1.1.9 - medusa-payment-klarna@1.1.10 - medusa-payment-paypal@1.0.9 - medusa-payment-stripe@1.1.9 - medusa-plugin-add-ons@1.1.9 - medusa-plugin-brightpearl@1.1.12 - medusa-plugin-contentful@1.1.10 - medusa-plugin-economic@1.1.9 - medusa-plugin-mailchimp@1.1.9 - medusa-plugin-permissions@1.1.9 - medusa-plugin-restock-notification@0.0.3 - medusa-plugin-segment@1.1.12 - medusa-plugin-sendgrid@1.1.10 - medusa-plugin-slack-notification@1.1.9 - medusa-plugin-twilio-sms@1.1.9 - medusa-plugin-wishlist@1.1.9 - medusa-test-utils@1.1.9 - @medusajs/medusa@1.1.19
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!" })