Official Node.js SDK for the Sendexa Communications Platform.
Sendexa allows developers to integrate SMS, OTP, Email, Voice, and USSD into their applications through simple APIs.
npm install sendexaor
bun add sendexaimport { Sendexa } from "sendexa";
const sendexa = new Sendexa({
apiKey: process.env.SENDEXA_API_KEY
});
await sendexa.sms.send({
to: "+233XXXXXXXXX",
from: "SENDEXA",
message: "Hello from Sendexa 🚀"
});- SMS messaging
- OTP verification
- Email delivery
- Voice calls
- USSD sessions
- Developer-first API design
Send OTP:
await sendexa.otp.send({
to: "+233XXXXXXXXX",
channel: "sms"
});Verify OTP:
await sendexa.otp.verify({
to: "+233XXXXXXXXX",
code: "123456"
});Full documentation available at:
We welcome contributions from the community.
Please open an issue or submit a pull request.