Self-Hosted SMS Infrastructure

Build Your Own SMS Gateway

Take full control of your messaging infrastructure. Send SMS directly from your Android device or integrate via REST API & SMPP protocol. No vendor lock-in.

MIT License
Open Source
Enterprise Ready
curl -X POST \
  https://selfhost.smpp.asia/api/sms/send \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "09xxxxxxxxx",
    "message": "Hello from MsgBridge!"
  }'
βœ“ Message sent successfully 200 OK
{ "status": "delivered", "message_id": "msg_7d8a9b2c" }
LIVE
3
Integration Methods
99.9%
Uptime SLA
10M+
Messages/Month
24/7
Support Available

Why Choose MsgBridge?

Build a scalable SMS infrastructure without the complexity. Our gateway supports multiple integration methods for any use case.

Android Gateway

Transform your Android phone into a powerful SMS gateway. Send messages directly using your device's cellular network.

  • Zero infrastructure costs
  • Real-time delivery reports
  • Background operation

REST API

Simple HTTP-based API for web and mobile app integration. Send SMS with a single HTTP request.

  • JSON request/response
  • Token-based auth
  • SDK for all languages

SMPP Protocol

Enterprise-grade SMPP 3.4 protocol support for high-volume messaging systems and telecom integrations.

  • Persistent connections
  • High throughput
  • Enterprise compliance

Integration Methods

Choose the integration method that best fits your needs

πŸ“± Android Gateway Setup

Step 1: Download the App

Download and install MSG95Gateway.apk on your Android device

Step 2: Install & Configure

  1. Enable "Unknown sources" in device settings
  2. Install the APK file
  3. Open app and login with your account
  4. Grant SMS permissions when prompted
  5. Keep app running in background

Requirements

Android 8.0+
SIM card with SMS plan
Stable internet connection
Background permissions enabled

πŸ”Œ REST API Integration

# Send SMS via REST API
curl -X POST \
https://selfhost.smpp.asia/api/sms/send \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"phone": "09xxxxxxxxx", "message": "Hello!"}'
// PHP Example
$ch = curl_init('https://selfhost.smpp.asia/api/sms/send');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  'Authorization: Bearer YOUR_TOKEN',
  'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
  'phone' => '09xxxxxxxxx',
  'message' => 'Hello from MsgBridge!'
]));
$response = curl_exec($ch);

πŸ“‘ SMPP Protocol Configuration

Connection Parameters

Host
selfhost.smpp.asia
Port
2558
System ID
From your dashboard
Password
From your dashboard
# Python SMPP Client Example
import smpplib

client = smpplib.client.Client(
  'selfhost.smpp.asia', 2558
)

client.connect()
client.bind_transmitter(
  system_id='YOUR_SYSTEM_ID',
  password='YOUR_PASSWORD'
)

parts, _ = client.send_message(
  source_addr='MsgBridge',
  destination_addr='09xxxxxxxxx',
  short_message='Hello via SMPP!'
)

Documentation & Resources

Everything you need to get started with MsgBridge

Ready to Get Started?

Join hundreds of developers and businesses using MsgBridge for their SMS infrastructure

1

Register

Create your account at selfhost.smpp.asia

2

Get API Key

Generate your API credentials from dashboard

3

Start Sending

Integrate with your app using API or SMPP

Create Your Account

Get in Touch

Have questions? We're here to help you set up your SMS gateway.

Registered Office

190 Clemenceau Avenue
#06-07 Singapore Shopping Centre
Singapore 239924