Developer Quick-Start: Learn how to schedule SMS reminders using Vonage Messages API with Node.js and Express. Complete tutorial covering setTimeout scheduling, database persistence with SQLite, API authentication with Application IDs, and production deployment for automated messaging systems. Want to skip 10DLC vetting queues, carrier surcharges, and multi-step SDK boilerplate? You can send the same SMS directly via SMSRoute's REST API with instant no-KYC provisioning.
Build a production-ready SMS scheduling and reminder service using Node.js, Express, and the Vonage Messages API. Learn how to schedule SMS reminders to be sent at specific future times, manage scheduled messages via a REST API, handle the setTimeout maximum delay constraint, and implement database persistence with SQLite. Master authentication with Application IDs and private keys, error handling, and production deployment strategies for reliable automated messaging.
Solve the common need to notify users via SMS about appointments, deadlines, or other time-sensitive events without requiring manual intervention at the time of sending.
Technologies used:
- Node.js: A JavaScript runtime environment for building server-side applications.
- Express: A minimal and flexible Node.js web application framework for building the API.
- Vonage Messages API: Enables sending SMS (and other message types) programmatically.
node-cron: A simple cron-like job scheduler for Node.js (potentially useful for periodic tasks like cleanup, though this guide primarily uses setTimeout for direct scheduling).dotenv: Loads environment variables from a .env file.uuid: Generates unique identifiers for reminders.- (Optional but Recommended) SQLite: A simple file-based database for persistent storage of reminders.
System architecture:
+---------+ +-----------------+ +-----------------+ +--------+ +------+
| User | ----> | Express API | ----> | Reminder Logic | ----> | Vonage | ----> | SMS |
| (Admin) | | (POST /schedule)| | (setTimeout/DB) | | API | | User |
+---------+ +-----------------+ +-----------------+ +--------+ +------+
| ^ |
| GET /reminders/:id | |
| DELETE /reminders/:id| |
+---------------------+----------------------------------------------+
Final outcome:
By the end of this guide, you will have a Node.js application with API endpoints to:
- Schedule an SMS reminder for a specific recipient, message, and future time.
- (Optional) List scheduled reminders.
- (Optional) Cancel a pending reminder.
- Securely store credentials and handle errors gracefully.
- (Optional) Persist reminder data in a database.
Prerequisites:
- Node.js and npm (or yarn): Installed on your system. Download Node.js
- Recommended: Node.js v20 LTS (Iron) or v22 LTS (Jod) as of 2025. Reference: Node.js Release Schedule
- Vonage API Account: Sign up for free at Vonage.
- Vonage API Key and Secret: Found on your Vonage API Dashboard.
- Vonage Application: You'll create one to get an Application ID and Private Key.
- Vonage Virtual Number: Purchase one from the Vonage Dashboard (Numbers > Buy Numbers) capable of sending SMS. Link this number to your Vonage Application.
- (Optional for Local Development)
ngrok: Useful for exposing your local server to the internet, primarily for receiving webhook callbacks from Vonage (like delivery receipts or inbound messages), which are not covered in the basic implementation of this guide but mentioned as potential extensions. It's not required just for scheduling and sending outbound SMS. Get ngrok
1. Set Up Your Node.js SMS Scheduler Project
Initialize the Node.js project and install the necessary dependencies.
- Create Project Directory: Open your terminal and create a new directory for your project, then navigate into it.
mkdir vonage-sms-scheduler
cd vonage-sms-scheduler
- Initialize npm Project: This creates a
package.jsonfile.
npm init -y
- Install Dependencies: We need Express for the server, the Vonage SDK,
dotenvfor environment variables,uuidfor unique IDs, andnode-cron(though optional for this guide's core logic).
npm install express @vonage/server-sdk dotenv node-cron uuid
(Optional: For database persistence)
npm install sqlite3
(Optional: For robust input validation)
npm install express-validator
- Create Project Structure: Create the basic files and directories.
touch server.js .env .gitignore
mkdir data
mkdir src
touch src/vonageClient.js src/scheduler.js
mkdir src/routes
touch src/routes/reminderRoutes.js
touch src/database.js
Your structure should look something like this:
vonage-sms-scheduler/
βββ data/
βββ node_modules/
βββ src/
β βββ database.js # Optional DB logic
β βββ scheduler.js # Scheduling logic
β βββ vonageClient.js # Vonage SDK setup
β βββ routes/
β βββ reminderRoutes.js # API routes
βββ .env # Environment variables (API keys, etc.)
βββ .gitignore # Files/folders to ignore in Git
βββ package.json
βββ package-lock.json
βββ server.js # Main Express server setup
- Configure
.gitignore: Prevent sensitive information and unnecessary files from being committed to version control. Add the following to your.gitignorefile:
# Dependencies
node_modules/
# Environment variables
.env
# Optional database file
data/*.sqlite
# Logs
*.log
private.key # Example if storing key in root
# OS generated files
.DS_Store
Thumbs.db
- Set Up Vonage Application and Credentials:
- Go to your Vonage API Dashboard.
- Click "Create a new application".
- Give it a name (e.g., "Node SMS Scheduler").
- Click "Generate public and private key". Save the
private.keyfile that downloads. For simplicity in this guide, you can save it directly into your project's root directory (vonage-sms-scheduler/private.key), ensuring .gitignore includes private.key or \*.key. Security Warning: Storing private keys directly in the project directory, even if gitignored, is generally discouraged for production environments. Consider storing it outside the project root, using environment variables to pass the key content (not the path), or leveraging secrets management services. - Enable the "Messages" capability. For sending scheduled messages, you don't strictly need to configure Inbound/Status URLs immediately, but if you plan to handle replies or delivery receipts later, set them up using an ngrok URL (e.g., https://<your-ngrok-url>.ngrok.io/webhooks/inbound and /status).
- Scroll down to "Link virtual numbers" and link the Vonage number you purchased earlier to this application.
- Click "Create application".
- Note down the Application ID.
- Configure Environment Variables (
.env): Create a.envfile in the project root and add your Vonage credentials and configuration. Never commit this file to Git.
.env
# .env
# Vonage Credentials
# Found in Vonage Dashboard > API Settings
VONAGE_API_KEY=YOUR_VONAGE_API_KEY
VONAGE_API_SECRET=YOUR_VONAGE_API_SECRET
# Vonage Application Credentials
# From the application you created
VONAGE_APPLICATION_ID=YOUR_VONAGE_APPLICATION_ID
# Path relative to the project root where you saved the private key
VONAGE_PRIVATE_KEY_PATH=./private.key
# Vonage Number associated with your application
VONAGE_NUMBER=YOUR_VONAGE_VIRTUAL_NUMBER # e.g., 14155550100
# Server Configuration
PORT=3000
# Optional: Database path
DATABASE_PATH=./data/reminders.sqlite
# Optional: Simple API Key for endpoint protection
# INTERNAL_API_KEY=your-secret-api-key
- VONAGE\_API\_KEY, VONAGE\_API\_SECRET: Get from the main Vonage Dashboard API settings page.
- VONAGE\_APPLICATION\_ID: Get from the specific Vonage Application page you created.
- VONAGE\_PRIVATE\_KEY\_PATH: The path to the private.key file you downloaded when creating the application.
- VONAGE\_NUMBER: The Vonage virtual number you linked to the application, in E.164 format (e.g., 12015550123).
- PORT: The port your Express server will listen on.
- DATABASE\_PATH: Location for the SQLite database file (if using).
- INTERNAL\_API\_KEY: (Optional) A secret key you can define to protect your API endpoints.
2. Configure Vonage Messages API Authentication in Node.js
Configure the Vonage Node.js SDK to interact with the API using the credentials from your .env
file.
File: src/vonageClient.js
const { Vonage } = require('@vonage/server-sdk');
const { Auth } = require('@vonage/auth');
const fs = require('fs');
require('dotenv').config();
const requiredEnvVars = [
'VONAGE_API_KEY',
'VONAGE_API_SECRET',
'VONAGE_APPLICATION_ID',
'VONAGE_PRIVATE_KEY_PATH',
'VONAGE_NUMBER'
];
let hasError = false;
for (const envVar of requiredEnvVars) {
if (!process.env[envVar]) {
console.error(`Error: Missing required environment variable ${envVar}. Please check your .env file.`);
hasError = true;
}
}
if (process.env.VONAGE_PRIVATE_KEY_PATH && !fs.existsSync(process.env.VONAGE_PRIVATE_KEY_PATH)) {
console.error(`Error: Private key file not found at path: ${process.env.VONAGE_PRIVATE_KEY_PATH}`);
hasError = true;
}
if (hasError) {
process.exit(1);
}
const credentials = new Auth({
apiKey: process.env.VONAGE_API_KEY,
apiSecret: process.env.VONAGE_API_SECRET,
applicationId: process.env.VONAGE_APPLICATION_ID,
privateKey: process.env.VONAGE_PRIVATE_KEY_PATH,
});
const vonage = new Vonage(credentials);
async function sendSms(to, text) {
const fromNumber = process.env.VONAGE_NUMBER;
console.log(`Attempting to send SMS from ${fromNumber} to ${to}`);
try {
const resp = await vonage.messages.send({
message_type: "text",
text: text,
to: to,
from: fromNumber,
channel: "sms"
});
console.log(`SMS sent successfully to ${to}. Message UUID: ${resp.message_uuid}`);
return resp.message_uuid;
} catch (err) {
console.error(`Error sending SMS to ${to}:`, err.response ? err.response.data : err.message);
throw new Error(`Failed to send SMS via Vonage: ${err.message}`);
}
}
module.exports = {
sendSms,
vonage
};
Explanation:
- Load Env Vars: dotenv.config() loads variables from .env.
- Validation: Includes checks for crucial Vonage environment variables and verifies the existence of the private key file.
- Authentication: We use the Auth object with applicationId and privateKey for the Messages API, as recommended. The SDK also requires apiKey and apiSecret for initialization.
- Client Initialization: Creates the vonage instance.
sendSmsFunction:
- Takes the recipient to number and text message.
- Retrieves the VONAGE\_NUMBER from environment variables.
- Uses vonage.messages.send() specifying channel: "sms", message\_type: "text".
- Includes logging for success and detailed error logging, accessing err.response.data if available.
- Returns the message\_uuid on success or throws an error on failure.
3. Build SMS Scheduling Logic with setTimeout in Node.js
Use Node.js's built-in setTimeout function to schedule the SMS sending for a specific future
time. Manage pending timers in memory initially. Note: This approach is simple but not robust
against server restarts; scheduled reminders will be lost. See Section 5 for database persistence.
File: src/scheduler.js
const { sendSms } = require('./vonageClient');
const { v4: uuidv4 } = require('uuid');
const pendingReminders = new Map();
function scheduleReminder(recipient, message, sendAtDate) {
const now = new Date();
const delay = sendAtDate.getTime() - now.getTime();
if (delay <= 0) {
throw new Error("Scheduled time must be in the future.");
}
const reminderId = uuidv4();
console.log(`Scheduling reminder ${reminderId} for ${recipient} at ${sendAtDate.toISOString()} (in ${delay}ms)`);
const timeoutId = setTimeout(async () => {
console.log(`Executing reminder ${reminderId} for ${recipient}`);
const reminder = pendingReminders.get(reminderId);
if (!reminder || reminder.status !== 'pending') {
console.warn(`Reminder ${reminderId} execution skipped: No longer pending (status: ${reminder?.status})`);
pendingReminders.delete(reminderId);
return;
}
try {
const messageUuid = await sendSms(recipient, message);
console.log(`Reminder ${reminderId} sent successfully. Vonage Message ID: ${messageUuid}`);
pendingReminders.set(reminderId, { ...reminder, status: 'sent', vonageMessageId: messageUuid });
} catch (error) {
console.error(`Failed to send reminder ${reminderId}:`, error);
pendingReminders.set(reminderId, { ...reminder, status: 'failed' });
} finally {
console.log(`Reminder ${reminderId} processed. Final status: ${pendingReminders.get(reminderId)?.status}`);
}
}, delay);
pendingReminders.set(reminderId, {
timeoutId,
recipient,
message,
sendAt: sendAtDate,
status: 'pending'
});
return reminderId;
}
function cancelReminder(reminderId) {
const reminder = pendingReminders.get(reminderId);
if (reminder && reminder.status === 'pending') {
clearTimeout(reminder.timeoutId);
pendingReminders.set(reminderId, { ...reminder, status: 'cancelled' });
console.log(`Cancelled reminder ${reminderId}`);
return true;
}
console.log(`Reminder ${reminderId} not found or cannot be cancelled (status: ${reminder?.status}).`);
return false;
}
function getReminderStatus(reminderId) {
const reminder = pendingReminders.get(reminderId);
if(reminder) {
const { timeoutId, ...details } = reminder;
return details;
}
return undefined;
}
module.exports = {
scheduleReminder,
cancelReminder,
getReminderStatus,
};
Explanation:
pendingRemindersMap: An in-memory Map stores reminder states. The key is reminderId, value includes timeoutId, details, and status. Data is volatile.scheduleReminder:
- Calculates delay. Checks if it's in the future.
- Generates reminderId using uuid.
- Uses setTimeout. The callback checks the reminder status before sending (in case it was cancelled), calls sendSms, and updates the in-memory status to 'sent' or 'failed'.
- Stores initial details and timeoutId in pendingReminders with 'pending' status.
- Returns reminderId.
cancelReminder:
- Looks up the reminder. Checks if its status is 'pending'.
- If yes, calls clearTimeout and updates the in-memory status to 'cancelled'.
- Returns true if cancelled, false otherwise.
getReminderStatus:
- Retrieves reminder details from the map (excluding timeoutId). Returns the current state ('pending', 'sent', 'failed', 'cancelled') if found.
4. Create Express API Endpoints for SMS Scheduling
Create the Express server and define API endpoints to interact with your scheduler.
File: src/routes/reminderRoutes.js
const express = require('express');
const { scheduleReminder, cancelReminder, getReminderStatus } = require('../scheduler');
const router = express.Router();
const validateScheduleRequest = (req, res, next) => {
const { recipient, message, sendAt } = req.body;
if (!recipient || !message || !sendAt) {
return res.status(400).json({ error: 'Missing required fields: recipient, message, sendAt' });
}
if (!/^\+[1-9]\d{1,14}$/.test(recipient)) {
return res.status(400).json({ error: 'Invalid recipient phone number format (must be E.164: + followed by country code and number, 1-15 digits total, e.g., +14155550100)' });
}
const sendAtDate = new Date(sendAt);
if (isNaN(sendAtDate.getTime())) {
return res.status(400).json({ error: 'Invalid sendAt format. Use a valid date string (ISO 8601 recommended, e.g., 2025-12-31T23:59:59.000Z)' });
}
req.sendAtDate = sendAtDate;
next();
};
router.post('/', validateScheduleRequest, (req, res, next) => {
const { recipient, message } = req.body;
const { sendAtDate } = req;
try {
const reminderId = scheduleReminder(recipient, message, sendAtDate);
res.status(202).json({
message: "Reminder scheduled successfully.",
reminderId: reminderId,
details: {
recipient: recipient,
message: message,
sendAt: sendAtDate.toISOString()
}
});
} catch (error) {
if (error.message.includes("future")) {
return res.status(400).json({ error: error.message });
}
next(error);
}
});
router.get('/:id', async (req, res, next) => {
const { id } = req.params;
try {
const reminder = getReminderStatus(id);
if (reminder) {
res.status(200).json(reminder);
} else {
res.status(404).json({ error: `Reminder with ID ${id} not found.` });
}
} catch (error) {
next(error);
}
});
router.delete('/:id', (req, res, next) => {
const { id } = req.params;
try {
const cancelled = cancelReminder(id);
if (cancelled) {
res.status(200).json({ message: `Reminder ${id} cancelled successfully.` });
} else {
const currentStatus = getReminderStatus(id)?.status;
if (currentStatus) {
res.status(400).json({ error: `Reminder ${id} cannot be cancelled (current status: ${currentStatus}).` });
} else {
res.status(404).json({ error: `Reminder with ID ${id} not found.` });
}
}
} catch (error) {
next(error);
}
});
module.exports = router;
File: server.js (Main application setup)
require('dotenv').config();
const express = require('express');
const reminderRoutes = require('./src/routes/reminderRoutes');
const app = express();
const PORT = process.env.PORT || 3000;
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.use((req, res, next) => {
console.log(`[${new Date().toISOString()}] ${req.method} ${req.url}`);
next();
});
app.use('/api/reminders', reminderRoutes);
app.get('/', (req, res) => {
res.send('SMS Reminder Service is running!');
});
app.use((req, res, next) => {
res.status(404).json({ error: 'Not Found' });
});
app.use((err, req, res, next) => {
console.error("Unhandled Error:", err.stack || err.message);
res.status(err.status || 500).json({
error: 'Internal Server Error',
});
});
async function startServer() {
try {
app.listen(PORT, () => {
console.log(`Server listening on port ${PORT}`);
console.log(`API endpoints available at http://localhost:${PORT}/api/reminders`);
console.log(`Current server time: ${new Date().toISOString()} (Ensure server timezone is correct, preferably UTC)`);
});
} catch (error) {
console.error("Failed to start server:", error);
process.exit(1);
}
}
startServer();
Explanation:
reminderRoutes.js:
- Defines an Express Router.
- Includes basic input validation middleware (validateScheduleRequest). Using
express-validatoris recommended for production. - POST
/: Schedules a reminder via scheduleReminder. Returns 202 Accepted with reminderId. Handles specific scheduling errors. - GET
/:id: Retrieves status via getReminderStatus. Returns 404 if not found. Includes comments for optional DB lookup integration. - DELETE
/:id: Cancels via cancelReminder. Returns 200 on success, 404 or 400 if not found or not cancellable.
server.js:
- Sets up the Express app, loads dotenv.
- Uses express.json() and express.urlencoded().
- Includes simple request logging.
- Includes commented-out example for simple API key authentication.
- Mounts reminderRoutes under /api/reminders.
- Defines 404 and central error handling middleware (crucial for catching unexpected errors).
- Contains a startServer function with commented-out logic for database initialization and rescheduling on startup (requires Section 5 implementation).
- Starts the server and logs relevant information.
Use a database like SQLite to provide persistence. The in-memory map (pendingReminders) is
simple but not reliable; data is lost on restart.
File: src/database.js
const sqlite3 = require('sqlite3').verbose();
require('dotenv').config();
const dbPath = process.env.DATABASE_PATH || './data/reminders.db';
const dbDir = require('path').dirname(dbPath);
if (!require('fs').existsSync(dbDir)) {
require('fs').mkdirSync(dbDir, { recursive: true });
}
const db = new sqlite3.Database(dbPath, (err) => {
if (err) {
console.error("Error connecting to SQLite database:", err.message);
throw err;
}
console.log(`Connected to SQLite database at ${dbPath}`);
});
function initializeDatabase() {
return new Promise((resolve, reject) => {
const sql = `
CREATE TABLE IF NOT EXISTS reminders (
id TEXT PRIMARY KEY, -- Unique reminder ID (UUID)
recipient TEXT NOT NULL, -- E.164 phone number
message TEXT NOT NULL,
sendAt TEXT NOT NULL, -- ISO 8601 timestamp string (UTC recommended)
status TEXT NOT NULL DEFAULT 'pending', -- 'pending', 'sent', 'failed', 'cancelled', 'missed'
createdAt TEXT NOT NULL, -- ISO 8601 timestamp string
updatedAt TEXT NOT NULL, -- ISO 8601 timestamp string
vonageMessageId TEXT -- Store Vonage message UUID after sending
);
`;
db.run(sql, (err) => {
if (err) {
console.error("Error creating reminders table:", err.message);
return reject(err);
}
console.log("Reminders table checked/created successfully.");
resolve();
});
});
}
module.exports = {
initializeDatabase,
db
};
Explanation:
- Database Path: Uses the DATABASE\_PATH environment variable or defaults to ./data/reminders.db.
- Directory Creation: Automatically creates the database directory if it doesn't exist.
- Connection: Establishes a SQLite connection on module load.
- Schema Initialization: The initializeDatabase() function creates the reminders table with appropriate columns for tracking reminder lifecycle.
- Status Field: Supports multiple states: 'pending', 'sent', 'failed', 'cancelled', 'missed'.
Frequently Asked Questions About SMS Scheduling with Vonage
How Do I Schedule SMS Messages with Vonage Messages API in Node.js?
Schedule SMS messages by using Node.js's setTimeout function combined with the Vonage Messages
API. Create an Express API endpoint that accepts a recipient phone number (in E.164 format), message text, and
future timestamp. Calculate the delay in milliseconds, schedule a timeout, and store the reminder details in
memory or a database. When the timeout executes, call vonage.messages.send() to deliver the SMS.
This approach works for schedules up to 24.8 days in advance due to setTimeout's 32-bit integer limit.
What Is the Maximum Delay for setTimeout When Scheduling SMS Reminders?
The maximum delay for setTimeout is 2,147,483,647 milliseconds (approximately 24.8 days) due to
JavaScript's 32-bit signed integer storage limitation. For schedules beyond this limit, use a persistent job
queue like Bull, Agenda, or BullMQ. These libraries support longer-term scheduling by storing jobs in Redis or
MongoDB and checking periodically for due tasks. Reference: MDN setTimeout Maximum Delay
How Do I Authenticate with Vonage Messages API for SMS Scheduling?
Authenticate with the Vonage Messages API using an Application ID and private key file. Create a Vonage
Application in your dashboard, download the generated private.key file, and initialize the SDK
with @vonage/auth using both credentials. Store the Application ID and private key path in
environment variables via dotenv. The Messages API uses JWT authentication generated from these
credentials, while the SDK also requires your API Key and Secret for initialization.
What Phone Number Format Does Vonage Messages API Require?
Vonage Messages API requires E.164 format for all phone numbers β the international standard starting with a
plus sign followed by country code and national number, totaling 1-15 digits. Example:
+14155550100 for a US number. Validate phone numbers using the regex
/^\+[1-9]\d{1,14}$/ which enforces the plus sign, ensures the first digit isn't zero (per ITU-T
specification), and limits total length to 15 digits. Reference: ITU-T E.164 Standard
How Do I Persist Scheduled SMS Reminders Across Server Restarts?
Persist scheduled reminders using SQLite or another database to store reminder details (recipient, message,
scheduled time, status). On server startup, query the database for pending reminders with future send times
and recreate the setTimeout calls to reschedule them. Store the reminder ID, recipient, message
text, send time (ISO 8601 format), status, and creation/update timestamps. Update the status field ('pending',
'sent', 'failed', 'cancelled') as reminders progress through their lifecycle.
Can I Schedule SMS Messages More Than 24 Days in Advance?
Yes, but not directly with setTimeout due to its 24.8-day maximum delay constraint. Use a job
queue library like Bull (Redis-backed) or Agenda (MongoDB-backed) for longer-term scheduling. These libraries
periodically check for due jobs and execute them, supporting schedules months or years in advance.
Alternatively, use a cron-based approach with node-cron to check your database daily for
reminders due within the next 24 hours and schedule them with setTimeout.
How Do I Handle Failed SMS Sends in My Scheduling Service?
Handle failed SMS sends by wrapping the vonage.messages.send() call in a try-catch block within
your setTimeout callback. Update the reminder status to 'failed' in your database or in-memory
store when an error occurs. Log detailed error information from err.response.data for debugging.
Optionally implement retry logic with exponential backoff for transient failures, or store failed reminders in
a separate table/collection for manual review and reprocessing.
How Do I Deploy a Node.js SMS Scheduling Service to Production?
Deploy by choosing a hosting provider (Heroku, AWS EC2, Google Cloud Run, DigitalOcean), configuring
environment variables securely on the server (never commit .env files), uploading your private
key file with restricted permissions (chmod 600), implementing database persistence (SQLite for small scale,
PostgreSQL/MySQL for larger deployments), using a process manager like PM2 to keep your app running, and
setting up monitoring/logging. Ensure your server timezone is UTC for consistent timestamp handling across
regions.
Simpler Alternative: Send the Same SMS With SMSRoute (No-KYC, Direct Routes)
If you want to replace legacy aggregator SDK boilerplate, multi-week compliance queues, and opaque carrier surcharges with a single HTTP request, SMSRoute delivers global SMS over direct Tier-1 carrier interconnects with instant API access and transparent per-country pricing.
curl -X POST https://api.sendsmsnokyc.com/messages \
-H "x-api-key: $SMSROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": ["+14155551234"],
"channel": ["sms"],
"body": "Your verification code is 482910"
}'
- Instant onboarding: No KYC paperwork or sales queues β grab an API key and fund with crypto (BTC/USDT) or card.
- Direct Tier-1 routes: Verify real handset delivery, DLR latency, and Sender ID preservation before launch via SMSRoute Live Carrier Testing.
- Transparent global pricing: Compare exact per-country termination rates on our live pricing page.
Ship Global SMS in One API Call
Skip legacy SDK sprawl and carrier bottlenecks. Send OTPs, alerts, and bulk campaigns across 190+ countries with SMSRoute.
Explore SMSRoute Developers β