Node.js SMS Integration Guide

Integrate SMS functionality into your Node.js applications with our NPM package and comprehensive API.

Quick Start

// Install via NPM
npm install onlinesmsservice-sms-api

// Initialize the client
const SMSClient = require("onlinesmsservice-sms-api");

const client = new SMSClient("your-api-key");

// Send SMS
client.sendSMS({
    to: "+919876543210",
    message: "Hello from Node.js!",
    sender: "YOURID"
}).then(result => {
    console.log(result.status);
});

Features

  • NPM package with async/await support
  • Promise-based API
  • Bulk SMS support
  • Real-time delivery reports
  • TypeScript support