Send WhatsApp Business template messages on Medusa store events.
Production-focused WhatsApp notification plugin for Medusa v2 with event mapping, template dispatch, and admin-managed operational controls.
yarn add @sam-ael/medusa-plugin-whatsapp
1plugins: [2 {3 resolve: "@sam-ael/medusa-plugin-whatsapp",4 options: {},5 },6]
1WHATSAPP_PHONE_NUMBER_ID=your_phone_number_id2WHATSAPP_ACCESS_TOKEN=your_access_token3WHATSAPP_API_VERSION=v25.04WHATSAPP_BUSINESS_ACCOUNT_ID=your_waba_id56WHATSAPP_SEND_CONCURRENCY=27WHATSAPP_API_TIMEOUT_MS=150008WHATSAPP_LOG_RETENTION_DAYS=30
| Method | Endpoint | Description |
|---|---|---|
| Read non-secret config | ||
| Create/update non-secret config | ||
| Fetch approved WhatsApp templates | ||
| List mappings (paginated) | ||
| Create mapping | ||
| Update mapping (primary) | ||
| Deprecated compatibility endpoint | ||
| Delete mapping | ||
| List message logs (redacted payloads) | ||
| Manual/test message send |
1yarn typecheck2yarn lint3yarn test4yarn build
Smoke tests are available under .
MIT