SMSRoute Developer Reference & SMPP Gateway
Integrate carrier-grade SMS delivery, webhook delivery receipts, live route probing, and HLR lookups. Zero KYC verification, instant Bearer token issuance, and crypto settlement from $0.004/SMS.
Gateway Overview
Welcome to the SMS Route API developer center. Our platform provides high-throughput programmatic text delivery routes to over 200 countries worldwide. Use this single-page guide to connect, dispatch requests, and hook up status callbacks.
REST API vs. SMPP Protocol Bind
Choose the protocol that fits your performance scope. The REST API is standard for alerts and OTP verification flows, while direct SMPP binds are built for high TPS gateway routing.

Gateway Quickstart Flow
Get API security keys from the dashboard security settings.
Trigger SMS endpoints with Bearer authentication blocks.
Capture delivery reports via dynamic callback registers.
API Authentication
Authentication requires OAuth Authorization Bearer tokens in headers. Requests must use HTTPS transport security.
Security Recommendations
- Store security keys in process environment variables.
- Do not execute sandbox client calls directly from browsers to prevent key exposure.
- Rotate keys at regular intervals using the gateway scheduler.
SMPP Gateway Connection
For high-volume text automation, connect directly using SMPP v3.4 over TLS on smpp.sendsmsnokyc.com port 2775. The gateway is TLS-only: the socket must complete a TLS handshake before the first PDU is read, so the URL scheme is ssmpp:// rather than smpp://.
SMPP Host & Port Specs
Host: smpp.sendsmsnokyc.com
Anycast hostname, not a fixed IP. Resolve it per session; do not pin the A record.
Port: 2775
TLS only. This port never accepts plaintext SMPP, so there is no fallback port to try.
Scheme: ssmpp://
SMPP inside a TLS tunnel. ssmpp is the scheme, not a hostname — the host stays smpp.sendsmsnokyc.com. smpp:// opens a raw socket and the bind ends in ECONNRESET.
TLS SNI: smpp.sendsmsnokyc.com
servername (Node) / server_hostname (Python). The listener routes on it; omitting it fails the handshake.
Protocol: SMPP v3.4 over TLS
interface_version 0x34. bind_transceiver is the recommended bind.
Credentials: your system_id + password
Shown in the dashboard under SMPP Settings. Read them from the environment — never from source.
Connect string: ssmpp://smpp.sendsmsnokyc.com:2775 — one host, one port, one transport. There is no alternate plaintext port to fall back to.
Important: Node.js SMPP Client TLS Event Requirement
When connecting over TLS in Node.js (via the smpp library), you must wait for the secureConnect event before sending your bind_transceiver request:
session.on('secureConnect', () => { session.bind_transceiver(...) });Listening to the raw connect event fires before the TLS cryptographic handshake is established. Transmitting bind packets on raw connect causes the proxy to drop the connection immediately with ECONNRESET.
SMPP Bind Specifications
Session Bind Types
bind_transceiver is the recommended bind: sends and delivery receipts share one socket, so you need half the connections of a transmitter/receiver pair. Separate bind_transmitter and bind_receiver binds are also accepted.
Credentials
The system_id and password are the SMPP credentials issued for your account and are listed in the dashboard under SMPP Settings. They are not rendered anywhere in these samples — export them as SMPP_SYSTEM_ID and SMPP_PASSWORD and read them at runtime. Rotating a password in the dashboard invalidates the old one on the next bind.
TLS SNI is mandatory
Send the hostname during the handshake — servername in Node.js, server_hostname in Python. The listener routes on SNI, and smpplib does not set it for you, so its built-in connect(ssl=True) fails; wrap the socket yourself as the Python sample does.
Delivery receipts
Set registered_delivery to 1 and answer every deliver_sm with a deliver_sm_resp. Receipts are retried while unacknowledged, and a session that keeps ignoring them is unbound.
/sms/sendSend SMS
Send a single SMS message to any mobile number worldwide.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Required | Recipient phone number in E.164 format Must be valid E.164 format |
message | string | Required | SMS message content Max 1600 characters |
callback_url | string | Optional | Webhook URL for delivery reports |
scheduled_at | string | Optional | Schedule message for future delivery (ISO 8601) |
sender_id | string | Optional | Sender ID (alphanumeric) Max 11 characters for alphanumeric |
marker | string | Optional | Marker for sending via a specific route |
curl -X POST "https://api.sendsmsnokyc.com/sms/send" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+1234567890",
"message": "Hello from SMS Route!",
"callback_url": "https://yourapp.com/webhook",
"scheduled_at": "2024-01-15T10:30:00Z",
"sender_id": "vortex",
"marker": "1"
}'HTTP Status Payloads
200SMS sent successfully
{
"status": "success",
"messageId": "sms-12345-abcde",
"cost": 0.05,
"balance": 123.45
}/sms/send/bulkSend Bulk SMS
Send SMS messages to multiple recipients in a single request.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
recipients | array | Required | Array of recipient objects containing 'to' and 'message' |
callback_url | string | Optional | Webhook URL for delivery reports |
sender_id | string | Optional | Sender ID (alphanumeric) Max 11 characters for alphanumeric |
marker | string | Optional | Marker for sending via a specific route |
curl -X POST "https://api.sendsmsnokyc.com/sms/send/bulk" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{
"to": "+1234567890",
"message": "Hello John!"
}
],
"callback_url": "https://yourapp.com/webhook",
"sender_id": "vortex",
"marker": "1"
}'HTTP Status Payloads
200Bulk SMS request processed
{
"status": "success",
"batchId": "batch-12345-abcde",
"totalMessages": 100,
"estimatedCost": 5.00
}/sms/single/{messageId}/statusGet Message Status
Retrieve the delivery status of a specific message.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
messageId | string | Required | Unique message identifier |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/sms/single/sms-12345-abcde/status"HTTP Status Payloads
200Message status retrieved successfully
{
"messageId": "sms-12345-abcde",
"status": "delivered",
"deliveredAt": "2024-01-15T10:32:15Z",
"cost": 0.05
}/account/balanceGet Account Balance
Retrieve current account balance and usage statistics.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/account/balance"HTTP Status Payloads
200Balance retrieved successfully
{
"status": "success",
"balance": 123.45,
"currency": "USD",
"messagesRemaining": 2469
}/pricesGet Pricing Information
Retrieve SMS pricing for all supported countries and operators.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | Optional | Filter by country code (ISO 3166-1 alpha-2) |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/prices?country=US"HTTP Status Payloads
200Pricing information retrieved
{
"countries": [
{
"code": "US",
"name": "United States",
"price": 0.05,
"currency": "USD"
}
]
}/hlr/get/lookupHLR Number Lookup
Perform HLR (Home Location Register) lookup to validate phone numbers.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
phone | string | Required | Phone number to validate (E.164 format) |
curl -X POST "https://api.sendsmsnokyc.com/hlr/get/lookup" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "+1234567890"
}'HTTP Status Payloads
200HLR lookup completed
{
"phone": "+1234567890",
"valid": true,
"carrier": "Verizon Wireless",
"country": "US",
"type": "mobile"
}/test/countriesGet Test Destination Countries
Retrieve list of available destination countries and mobile carriers for live route probing.
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/test/countries"HTTP Status Payloads
200Countries and carriers retrieved successfully
{
"ok": true,
"data": [
{
"country_id": "GB",
"country_name": "United Kingdom",
"carriers": [
{ "breakout_id": "gb_vodafone", "breakout_name": "Vodafone UK" },
{ "breakout_id": "gb_ee", "breakout_name": "EE UK" }
]
}
]
}/test/estimate-costEstimate Live Test Cost
Calculate cost breakdown, carrier counts, encoding parts, and per-carrier fee (€0.35) prior to running a test.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
country_code | string | Required | Target ISO country code (e.g. GB, US) |
message | string | Required | Test SMS message content |
selected_carrier_ids | string | Optional | Comma-separated breakout carrier IDs to target |
selected_route_markers | string | Optional | Comma-separated gateway route markers (e.g. 1,2) |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/test/estimate-cost?country_code=GB&message=Live+route+probe+test&selected_carrier_ids=gb_vodafone%2Cgb_ee&selected_route_markers=1%2C2%2C4"HTTP Status Payloads
200Cost estimate generated
{
"ok": true,
"data": {
"country_code": "GB",
"sms_parts": 1,
"encoding": "GSM-7",
"carriers_to_test": 2,
"vendors_with_price": 4,
"test_fee": 0.35,
"total_sms_cost": 0.32,
"total": 0.67
}
}/test/runRun Live Route Test
Trigger a live multi-carrier SMS probe batch to evaluate latency, DLR receipt, sender ID preservation, and content integrity.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
country_code | string | Required | Target ISO country code |
message | string | Required | Test SMS message payload |
sender_id | string | Required | Sender ID to test preservation |
selected_carrier_ids | array | Optional | Array of breakout carrier IDs to test |
selected_route_markers | array | Optional | Array of gateway route markers to evaluate |
curl -X POST "https://api.sendsmsnokyc.com/test/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country_code": "GB",
"message": "Route verification probe",
"sender_id": "vortex",
"selected_carrier_ids": [
"gb_vodafone"
],
"selected_route_markers": [
"1",
"2",
"4"
]
}'HTTP Status Payloads
200Test batch initiated successfully
{
"ok": true,
"data": {
"batch_id": "test_abc123xyz789",
"country_code": "GB",
"carriers_tested": 2,
"cost": 0.67,
"test_fee": 0.35,
"initiated_count": 8
}
}/test/statusGet Live Test Status
Poll active test batch execution progress, pending state, and completion flag.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
batch_id | string | Required | Batch ID returned from /test/run |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/test/status?batch_id=test_abc123xyz789"HTTP Status Payloads
200Status polled successfully
{
"ok": true,
"data": {
"batch_id": "test_abc123xyz789",
"status": "complete",
"total_tests": 8,
"elapsed_seconds": 12,
"is_complete": true,
"status_counts": { "pending": 0, "success": 8, "partial": 0, "failed": 0 }
}
}/test/resultsGet Live Test Results & Recommendation
Retrieve comprehensive probe test telemetry, DLR delivery latency, content integrity flags, and recommended optimal route.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
batch_id | string | Required | Batch ID of completed test run |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/test/results?batch_id=test_abc123xyz789"HTTP Status Payloads
200Test results and best route recommendation fetched
{
"ok": true,
"data": {
"batch_id": "test_abc123xyz789",
"country_code": "GB",
"recommendation": {
"carrier_name": "Vodafone UK",
"gateway_name": "Route 4",
"score": 100,
"price_per_sms": 0.04,
"reason": "Highest score (100) with lowest DLR latency and exact content preservation."
},
"summary": { "total": 8, "successful": 8, "failed": 0, "pending": 0 }
}
}/test/apply-routeApply Recommended Route
Automatically configure the highest-scoring test route as the primary gateway route for destination SMS traffic.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
batch_id | string | Optional | Batch ID containing top recommendation |
gateway_id | string | Optional | Gateway ID to set explicitly |
country_code | string | Optional | Destination ISO country code |
curl -X POST "https://api.sendsmsnokyc.com/test/apply-route" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"batch_id": "test_abc123xyz789",
"gateway_id": "gw_4",
"country_code": "GB"
}'HTTP Status Payloads
200Route applied successfully
{
"ok": true,
"data": {
"country_code": "GB",
"gateway_name": "Route 4",
"message": "Route 4 set as primary route for United Kingdom."
}
}/test/historyGet Live Test History Logs
Fetch paginated logs of past live probe test runs and performance results.
Request Query / Body Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | string | Optional | Number of records to fetch |
offset | string | Optional | Pagination offset index |
country_code | string | Optional | Filter history by ISO country code |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.sendsmsnokyc.com/test/history?limit=50&offset=0&country_code=GB"HTTP Status Payloads
200Test history logs retrieved
{
"ok": true,
"data": {
"tests": [
{ "id": "t_123", "country_code": "GB", "gateway_name": "Route 4", "dlr_received": true, "integrity_ok": true }
],
"pagination": { "total": 1, "limit": 50, "offset": 0 }
}
}Webhook delivery status
We post callback payloads detailing routing success or carrier errors to registered webhook targets. Validate signatures using HMAC hash verifiers.
DLR JSON Payload structure
{
"event": "sms.delivery_status",
"timestamp": "2024-01-15T10:32:15Z",
"data": {
"messageId": "sms-12345-abcde",
"status": "delivered",
"to": "+1234567890",
"deliveredAt": "2024-01-15T10:32:15Z",
"cost": 0.05,
"errorCode": null
}
}Error Handling Codes
Failures utilize custom HTTP status schemas. We map failure categories in JSON payloads.
The phone number format is invalid or not supported
Account balance is too low to send the message
Too many requests sent in a short period
Invalid or missing API key
API key does not have permission for this operation
Message content exceeds maximum length
Sender ID is invalid or not allowed
SMS delivery to this country is not supported
Temporary network error, please retry
Internal server error, contact support if persists
First-Party Gateway Telemetry & Interactive Developer Sandbox
Explore live SMPP latency probes, dynamic crypto Satoshi converters, global regulatory requirements, and an interactive SMS preview tool.