Developer Quick-Start: A guide to building a webhook endpoint using Fastify, Node.js, and Prisma to receive, process, and store Sinch SMS delivery report (DLR) callbacks. 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.
This guide provides a step-by-step walkthrough for building a robust system to handle Sinch SMS delivery report (DLR) callbacks using Fastify, Node.js, and Prisma. You'll learn how to receive, process, and store real-time updates on the status of messages you send via the Sinch SMS API.
By the end of this tutorial, you will have a functional webhook endpoint capable of receiving DLRs from Sinch, processing them, and persisting the status updates to a database. This enables real-time tracking of message delivery, crucial for applications requiring reliable communication and status monitoring.
Project Goals:
- Set up a Node.js project using the Fastify framework.
- Create a secure webhook endpoint to receive HTTP POST requests from Sinch.
- Parse and validate incoming delivery report payloads.
- Store message status updates in a database (using Prisma and PostgreSQL/SQLite).
- Implement basic security, logging, and error handling.
- Demonstrate how to send an SMS via Sinch API configured to trigger these callbacks.
- Provide instructions for local testing using ngrok.
Technologies Used:
- Node.js: JavaScript runtime environment.
- Fastify: High-performance, low-overhead web framework for Node.js. Chosen for its speed, extensibility, and developer-friendly features.
- Sinch SMS API: Used for sending SMS messages and providing delivery status updates via webhooks.
- Prisma: Next-generation ORM for Node.js and TypeScript. Used for database schema management and interaction.
- dotenv: Module to load environment variables from a .env file.
- axios: Promise-based HTTP client for making requests to the Sinch API.
- ngrok: Utility to expose local development servers to the internet for webhook testing.
System Architecture:
graph TD
subgraph Your Application
A[Fastify Server] --> B{Webhook Endpoint (/webhooks/sinch/dlr)};
B --> C[DLR Processing Logic];
C --> D[(Database / Prisma)];
E[Send SMS Logic] --> F{Sinch SMS API};
end
subgraph External Services
G[User/Trigger] --> E;
F -- Sends SMS --> H[End User Device];
F -- Sends DLR Callback --> B;
end
style F fill:#f9f,stroke:#333,stroke-width:2px
style B fill:#ccf,stroke:#333,stroke-width:2px
Prerequisites:
- Node.js (LTS version recommended, e.g., v18 or v20) and npm/yarn.
- A Sinch account with API credentials (Service Plan ID and API Token). You can find these on your Sinch Customer Dashboard.
- ngrok installed for local testing (ngrok Installation Guide).
- Basic understanding of Node.js, APIs, and webhooks.
- Access to a database (PostgreSQL is used here, but SQLite can be substituted for simpler local development).
1. Setting up the Project
Let's initialize the Node.js project and install the necessary dependencies.
- Create Project Directory: Open your terminal and create a new directory for the project.
mkdir sinch-fastify-dlr
cd sinch-fastify-dlr
- Initialize Node.js Project: Initialize the project using npm (or yarn).
npm init -y
This creates a package.json file.
- Install Dependencies: Install Fastify, dotenv (for environment variables), axios (for sending SMS), and Prisma (for database interaction).
npm install fastify dotenv axios @prisma/client
- Install Development Dependencies: Install Prisma CLI as a development dependency.
npm install -D prisma
- Initialize Prisma: Set up Prisma in your project. We'll use PostgreSQL as an example, but
you can change the provider if needed (e.g.,
sqlite).
npx prisma init --datasource-provider postgresql
This creates:
- A prisma directory with a schema.prisma file for defining your database schema.
- A .env file (if it doesn't exist) for environment variables, including the DATABASE\_URL.
- Configure
.gitignore: Create a.gitignorefile in the root of your project to avoid committing sensitive information and unnecessary files.
# .gitignore
# Node
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pids/
*.pid
*.seed
*.log
*.csv
*.dat
*.out
# Environment variables
.env
.env*.local
.env*.development
.env*.production
# Prisma
prisma/migrations/*/*.sql
# If using SQLite, ignore the database file:
prisma/dev.db*
- Project Structure: Your basic project structure should look like this:
sinch-fastify-dlr/
βββ prisma/
β βββ schema.prisma
βββ node_modules/
βββ .env
βββ .gitignore
βββ package.json
βββ package-lock.json
βββ server.js (We will create this next)
2. Environment Configuration
Securely manage your API keys and other configuration settings using environment variables.
- Edit
.envFile: Open the.envfile created byprisma init(or create it if it doesn't exist) and add your Sinch credentials and other configurations. You MUST replace the placeholder values below with your actual credentials and URLs.
.env
# .env
# Database Connection (Prisma uses this)
# Replace with your actual database connection string.
# Example for PostgreSQL: DATABASE_URL=""postgresql://user:yourpassword@host:port/database?schema=public""
# Example for SQLite: DATABASE_URL=""file:./prisma/dev.db""
DATABASE_URL=""postgresql://postgres:yourpassword@localhost:5432/sinch_dlr?schema=public"" # <-- IMPORTANT: Replace with your DB connection string
# Sinch API Credentials
# Replace with your credentials from the Sinch Dashboard. Keep these secret!
SINCH_SERVICE_PLAN_ID=""YOUR_SERVICE_PLAN_ID"" # <-- IMPORTANT: Replace with your Service Plan ID
SINCH_API_TOKEN=""YOUR_API_TOKEN"" # <-- IMPORTANT: Replace with your API Token
# Application Configuration
PORT=3000
# Base URL for callbacks (use ngrok URL for local testing, public domain in production)
# Replace with your actual ngrok forwarding URL or public server URL.
CALLBACK_BASE_URL=""https://your-ngrok-subdomain.ngrok.io"" # <-- IMPORTANT: Replace with your ngrok or public URL
# Optional: Basic Auth for Webhook (if configured in Sinch)
# Uncomment and replace if using Basic Auth security (see Section 7)
# WEBHOOK_USER=""your_webhook_user""
# WEBHOOK_PASSWORD=""your_webhook_password""
DATABASE_URL: Crucial. Replace the example string with your actual database connection string. If using SQLite locally, ensure the path is correct (e.g., file:./prisma/dev.db). Make sure the database exists if using PostgreSQL.SINCH_SERVICE_PLAN_ID: Required. Find this on your Sinch Dashboard under API Credentials.SINCH_API_TOKEN: Required. Also found on your Sinch Dashboard. Keep this secret!PORT: The port your Fastify server will listen on (default is 3000).CALLBACK_BASE_URL: Required. This is the publicly accessible base URL where Sinch will send callbacks. When testing locally with ngrok, you'll replace the placeholder with your ngrok forwarding URL (the https://... one). In production, this will be your server's public domain/IP.WEBHOOK_USER/WEBHOOK_PASSWORD: (Optional) Only needed if you configure Basic Authentication for your callback URL in the Sinch Dashboard and implement the check in Section 7.
- Load Environment Variables: We'll load these variables into our application using
dotenvin theserver.jsfile. Ensurerequire('dotenv').config();is called early in your application startup.
3. Creating the Database Schema
Define the database schema using Prisma to store message status information.
- Define the Schema (
prisma/schema.prisma): Openprisma/schema.prismaand define a model to store the delivery status updates. We add a unique constraint onbatchIdandrecipientto facilitate theupsertoperation correctly.
Prisma
// prisma/schema.prisma
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql" // Or "sqlite", etc. match your .env
url = env("DATABASE_URL")
}
model MessageStatus {
id String @id @default(cuid()) // Unique record ID (auto-generated CUID)
batchId String // Sinch's batch ID
recipient String // Phone number (MSISDN) of the recipient
status String // Sinch delivery status (e.g., Delivered, Failed)
statusCode Int // Sinch status code (e.g., 0, 401)
clientReference String? // Optional client reference sent with the batch
sinchTimestamp DateTime // Timestamp from the Sinch DLR payload ('at' field)
receivedAt DateTime @default(now()) // Timestamp when the callback was received by our server
updatedAt DateTime @updatedAt // Timestamp when the record was last updated
// Unique constraint combining batchId and recipient.
// This allows upsert to find the correct record to update based on these two fields.
@@unique([batchId, recipient])
// Index for efficient querying (optional, as @@unique often creates an index)
@@index([batchId, recipient])
}
- We use a CUID for the primary id, automatically generated by Prisma.
- The @@unique([batchId, recipient]) constraint is key. It ensures that for any given message batch, each recipient can only have one status record. This constraint is used by the upsert operation in the code.
- receivedAt defaults to the time the record is created in our database.
- updatedAt automatically tracks the last modification time.
- Apply Migrations: Generate the SQL migration files based on your schema and apply them to your database.
npx prisma migrate dev --name init-message-status
npx prisma generate
This command will:
- Connect to the database specified in DATABASE\_URL.
- Create the necessary SQL commands based on schema.prisma (including creating the MessageStatus table and the unique constraint).
- Apply these commands to your database.
- Ensure your Prisma Client is up-to-date with the schema.
4. Building the Callback Endpoint
Now, let's create the Fastify server and the endpoint to receive callbacks.
- Create
server.js: Create a file namedserver.jsin the root of your project. - Implement the Server and Endpoint: Add the following code to
server.js:
'use strict';
require('dotenv').config();
const Fastify = require('fastify');
const { PrismaClient } = require('@prisma/client');
const axios = require('axios');
const prisma = new PrismaClient();
const fastify = Fastify({
logger: true
});
async function processDeliveryReport(payload, log) {
if (!payload || typeof payload !== 'object') {
log.warn({ payload }, 'Received invalid or non-object DLR payload. Skipping.');
return;
}
const expectedType = 'recipient_delivery_report_sms';
if (payload.type !== expectedType) {
log.warn({ payloadType: payload.type, expectedType }, 'Received DLR payload with unexpected type. Skipping.');
return;
}
const {
batch_id: batchId,
recipient,
status,
code: statusCode,
at: sinchTimestampStr,
client_reference: clientReference
} = payload;
if (!batchId || !recipient || !status || typeof statusCode === 'undefined' || !sinchTimestampStr) {
log.warn({ payload }, 'Received incomplete DLR payload (missing required fields). Skipping.');
return;
}
const sinchTimestamp = new Date(sinchTimestampStr);
if (isNaN(sinchTimestamp.getTime())) {
log.warn({ payload }, 'Invalid timestamp format in DLR payload. Skipping.');
return;
}
log.info(`Processing status: ${status} (Code: ${statusCode}) for ${recipient} in batch ${batchId}`);
try {
const messageStatus = await prisma.messageStatus.upsert({
where: {
batchId_recipient: {
batchId: batchId,
recipient: recipient,
}
},
update: {
status: status,
statusCode: statusCode,
sinchTimestamp: sinchTimestamp,
clientReference: clientReference,
},
create: {
batchId: batchId,
recipient: recipient,
status: status,
statusCode: statusCode,
sinchTimestamp: sinchTimestamp,
clientReference: clientReference,
},
});
log.info({ recordId: messageStatus.id, batchId, recipient }, `Successfully saved/updated status for recipient`);
} catch (dbError) {
log.error({ err: dbError, batchId, recipient }, 'Database error while saving DLR status');
throw dbError;
}
}
const webhookHandler = async (request, reply) => {
const webhookPayload = request.body;
request.log.info({ payload: webhookPayload }, 'Received Sinch DLR callback');
reply.code(200).send({ status: 'OK', message: 'Callback received' });
try {
await processDeliveryReport(webhookPayload, request.log);
} catch (error) {
request.log.error({ err: error, payload: webhookPayload }, 'Error processing DLR payload after acknowledging');
}
};
fastify.post('/webhooks/sinch/dlr', webhookHandler);
fastify.get('/health', async (request, reply) => {
try {
await prisma.$queryRaw`SELECT 1`;
reply.code(200).send({ status: 'OK', timestamp: new Date().toISOString() });
} catch (error) {
request.log.error({ err: error }, 'Health check failed (database connection issue?)');
reply.code(503).send({ status: 'Service Unavailable' });
}
});
fastify.get('/send-test-sms', async (request, reply) => {
const to = request.query.to;
if (!to || !/^\+?[1-9]\d{1,14}$/.test(to)) {
return reply.code(400).send({ error: 'Missing or invalid required query parameter: to (must be E.164 format, e.g., +15551234567)' });
}
const recipientNumber = to.startsWith('+') ? to : `+${to}`;
const from = request.query.from || 'SinchTest';
const body = request.query.body || `Test SMS from Fastify @ ${new Date().toLocaleTimeString()}`;
const servicePlanId = process.env.SINCH_SERVICE_PLAN_ID;
const apiToken = process.env.SINCH_API_TOKEN;
const callbackBaseUrl = process.env.CALLBACK_BASE_URL;
if (!servicePlanId || !apiToken || !callbackBaseUrl) {
request.log.error('Missing SINCH_SERVICE_PLAN_ID, SINCH_API_TOKEN, or CALLBACK_BASE_URL in .env');
return reply.code(500).send({ error: 'Server configuration error: Missing required environment variables.' });
}
const callbackUrl = `${callbackBaseUrl}/webhooks/sinch/dlr`;
const sinchRegion = 'us';
const sinchSmsUrl = `https://${sinchRegion}.sms.api.sinch.com/xms/v1/${servicePlanId}/batches`;
const payload = {
from: from,
to: [recipientNumber],
body: body,
delivery_report: 'per_recipient',
callback_url: callbackUrl,
client_reference: `testRef_${Date.now()}`
};
request.log.info({ url: sinchSmsUrl, recipient: recipientNumber, callback: callbackUrl }, `Attempting to send SMS via Sinch`);
try {
const response = await axios.post(sinchSmsUrl, payload, {
headers: {
'Authorization': `Bearer ${apiToken}`,
'Content-Type': 'application/json',
'Accept': 'application/json'
},
timeout: 10000
});
request.log.info({ batchId: response.data?.id, status: response.status }, 'SMS batch submitted successfully to Sinch.');
reply.send({
message: 'SMS batch submission successful!',
sinchBatchId: response.data?.id,
callbackUrl: callbackUrl,
recipient: recipientNumber,
clientReference: payload.client_reference
});
} catch (error) {
const status = error.response?.status;
const errorData = error.response?.data;
const errorMessage = error.message;
request.log.error({ err: errorMessage, status, errorData, url: sinchSmsUrl }, 'Error sending SMS via Sinch API');
reply.code(status || 500).send({
error: 'Failed to send SMS via Sinch',
details: errorData || errorMessage,
status: status
});
}
});
const start = async () => {
try {
const port = parseInt(process.env.PORT || '3000', 10);
const host = '0.0.0.0';
await fastify.listen({ port: port, host: host });
fastify.log.info(`Server listening on http://${host}:${port}`);
fastify.log.info(`Webhook endpoint ready at /webhooks/sinch/dlr`);
if (process.env.CALLBACK_BASE_URL) {
fastify.log.info(`Ensure Sinch callback URL is configured to: ${process.env.CALLBACK_BASE_URL}/webhooks/sinch/dlr`);
} else {
fastify.log.warn('CALLBACK_BASE_URL environment variable is not set. Sinch callbacks will likely fail.');
}
} catch (err) {
fastify.log.error(err);
await prisma.$disconnect();
process.exit(1);
}
};
const signals = ['SIGINT', 'SIGTERM'];
signals.forEach(signal => {
process.on(signal, async () => {
fastify.log.info(`Received ${signal}, shutting down gracefully...`);
try {
await fastify.close();
await prisma.$disconnect();
fastify.log.info('Server and database connection closed successfully.');
process.exit(0);
} catch (err) {
fastify.log.error({ err }, 'Error during graceful shutdown');
process.exit(1);
}
});
});
start();
Explanation:
- Environment Variables: dotenv loads variables from .env. Crucially, it's called first.
- Prisma Client: An instance is created.
- Fastify Instance: Created with logging enabled.
/webhooks/sinch/dlrRoute:- Listens for POST requests using the webhookHandler.
- Logs the incoming payload.
- Sends
200 OKimmediately. This is vital for Sinch. - Calls processDeliveryReport asynchronously after responding. Errors during processing are logged but don't cause Sinch retries (unless you implement a Dead Letter Queue).
processDeliveryReportFunction:- Performs validation on the payload structure and type.
- Validates required fields (batch\_id, recipient, status, code, at).
- Parses the Sinch timestamp string.
- Uses prisma.messageStatus.upsert with the batchId\_recipient unique constraint defined in the schema. This correctly finds an existing record to update or creates a new one.
- The id field is not set in the create block; Prisma handles the CUID generation.
- Logs success or database errors. Errors are re-thrown to be caught by the route handler.
/healthRoute: Standard health check./send-test-smsRoute: (Included from Section 5 for completeness) Allows triggering an SMS for testing.- Server Start: Listens on the configured PORT and 0.0.0.0. Logs the expected callback URL.
- Graceful Shutdown: Handles SIGINT (Ctrl+C) and SIGTERM to close the server and database connection cleanly.
5. Sending an SMS with Callback Configuration
To test the webhook, you need to send an SMS using the Sinch API and tell Sinch where to send the
delivery report callback. The code for the /send-test-sms route is included in the
server.js example in Section 4.
Explanation of the Test Route:
- Takes to (required, E.164 format), from (optional), and body (optional) as query parameters.
- Validates required environment variables (SINCH\_SERVICE\_PLAN\_ID, SINCH\_API\_TOKEN, CALLBACK\_BASE\_URL).
- Constructs the Sinch API endpoint URL (ensure the region like us is correct for your account).
- Creates the request payload, critically including:
- to: Array containing the recipient number in E.164 format.
- delivery\_report: 'per\_recipient': Tells Sinch to send a callback for each recipient's status changes. Study Sinch docs if you need summary or final reports, as the payload structure differs.
- callback\_url: The full, public URL of your webhook endpoint (/webhooks/sinch/dlr appended to CALLBACK\_BASE\_URL).
- Uses axios to make the POST request with the Bearer token.
- Logs success/failure and returns info including the Sinch batch\_id.
6. Running and Testing Locally with ngrok
To allow Sinch's servers (on the public internet) to reach your local Fastify application during development,
use ngrok.
- Start Your Database: Ensure your PostgreSQL server is running or your SQLite file path is correct.
- Start ngrok: Open a new, separate terminal window and run ngrok, telling it to forward HTTP traffic to the port your Fastify server runs on (default 3000).
ngrok http 3000
- Get ngrok Forwarding URL: ngrok will display output like this:
Session Status online
Account Your Name (Plan: Free)
...
Forwarding http://xxxxxxxx.ngrok-free.app -> http://localhost:3000
Forwarding https://xxxxxxxx.ngrok-free.app -> http://localhost:3000
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use this HTTPS URL
Copy the HTTPS forwarding URL (e.g., https://xxxxxxxx.ngrok-free.app). This URL
is now publicly accessible as long as ngrok is running. Note: Free ngrok URLs are temporary
and change each time you restart ngrok.
- Update
.env: Open your.envfile and replace the placeholderCALLBACK_BASE_URLwith the actual HTTPS ngrok URL you just copied.
.env
# .env
# ... other variables
CALLBACK_BASE_URL=""https://xxxxxxxx.ngrok-free.app"" # <-- Paste your ACTUAL ngrok HTTPS URL here
IMPORTANT: You must restart your Fastify server
(node server.js) after changing the .env file for the changes to take effect.
- Start Fastify Server: In your original terminal window (in the project directory), start the server.
node server.js
Check the logs. It should confirm it's listening and state the full callback URL it expects Sinch to use
(based on your .env setting). If CALLBACK_BASE_URL was missing or incorrect, you'll
see a warning.
- Trigger Test SMS: Open your web browser or use a tool like
curlto hit your server's test endpoint. Provide a valid phone number you can check (use your own mobile, in E.164 format like+15551234567).
curl ""http://localhost:3000/send-test-sms?to=+15551234567""
- Observe Logs and Callbacks:
- Fastify Terminal: Watch the logs. You should see:
- The GET request to /send-test-sms.
- The log indicating successful submission to Sinch (or an error if submission failed).
- Shortly after, one or more POST requests hitting /webhooks/sinch/dlr as Sinch sends status updates (e.g., Dispatched, Delivered, Failed).
- Logs from processDeliveryReport showing status processing and database interaction (Successfully saved/updated status...).
- ngrok Web Interface (Optional): Open http://127.0.0.1:4040 in your browser. This is ngrok's local inspection interface. It shows all requests coming through the tunnel, which is very useful for debugging if your Fastify endpoint isn't receiving callbacks as expected (you can inspect headers, body, timing, etc.).
- Database: Connect to your database (using psql, pgAdmin, sqlite3, or Prisma Studio: npx prisma studio) and check the MessageStatus table. You should see records being created or updated corresponding to the DLRs received for your test message.
7. Security Considerations
Securing your webhook endpoint is crucial in production.
- Webhook Signature Verification (Ideal but Check Availability): The most secure method is verifying a signature sent by Sinch (usually HMAC), calculated using a shared secret. Currently, standard HMAC signature verification does not seem to be offered by Sinch for SMS DLR callbacks. Always consult the latest official Sinch documentation for confirmation and potential updates on security features. If signature verification becomes available, prioritize implementing it.
- Basic Authentication (Alternative): If signature verification isn't available, you can use Basic Authentication as a layer of security. Configure a username and password in the Sinch Dashboard for your callback URL.
- Installation (if using Basic Auth): You need the @fastify/basic-auth plugin.
npm install @fastify/basic-auth
- Implementation: Register the plugin and add a preHandler hook in server.js to check credentials before your webhook logic runs. Add this code before the fastify.post('/webhooks/sinch/dlr', ...) line and before the start() call.
const basicAuth = require('@fastify/basic-auth');
if (process.env.WEBHOOK_USER && process.env.WEBHOOK_PASSWORD) {
fastify.register(basicAuth, {
validate: async function (username, password, request, reply) {
if (username !== process.env.WEBHOOK_USER || password !== process.env.WEBHOOK_PASSWORD) {
request.log.warn('Webhook basic authentication failed: Invalid credentials');
return new Error('Authentication required.');
}
},
authenticate: { realm: 'Sinch Webhook' }
});
const webhookRouteOptions = {
preHandler: fastify.basicAuth,
handler: webhookHandler
};
fastify.route({
method: 'POST',
url: '/webhooks/sinch/dlr',
...webhookRouteOptions
});
fastify.log.info('Webhook endpoint /webhooks/sinch/dlr configured with Basic Authentication.');
} else {
fastify.log.info('Webhook endpoint /webhooks/sinch/dlr configured WITHOUT Basic Authentication.');
}
- Important Structure Note: Ensure the fastify.post('/webhooks/sinch/dlr', webhookHandler); line defined earlier is either removed or placed within the else block here, so the route isn't registered twice. The code above assumes the fastify.route({...}) call replaces any previous definition for the same method/URL. Check Fastify documentation for specifics if needed. The key is that the route is registered either with the preHandler (if auth is enabled) or without it (if auth is disabled).
- HTTPS: Always use HTTPS for your callback URL (
CALLBACK_BASE_URL).ngrokprovides this automatically for local testing. In production, ensure your server is behind a reverse proxy (like Nginx or Caddy) configured for SSL/TLS termination. - Rate Limiting: Implement rate limiting (e.g., using
@fastify/rate-limit) on the webhook endpoint to prevent abuse or accidental overload. - Input Validation: The current code performs basic validation. Enhance it based on the exact Sinch DLR payload specification to be more robust against unexpected or malformed data.
- Error Handling & Monitoring: Implement robust error handling. Consider a dead-letter queue (DLQ) mechanism for payloads that fail processing, allowing for later inspection and retry. Monitor logs and endpoint health.
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 β