User Guide

Complete guide for end-users to set up gateway, send SMS, and integrate with your applications.

Registration

Go to Portal

Navigate to https://selfhost.smpp.asia/portal.html

Click Register

Fill in your name, email, phone (optional), and password.

Start Free Trial

You get 3 days free trial with full access to all features.

Free Trial: 3 days with 500 SMS/day, 15,000 SMS/month, 2 gateway devices (4 SIMs).

Dashboard Overview

Stats Cards

MetricDescription
Today's SMSSMS sent today / daily limit
This MonthSMS sent this month / monthly limit
GatewaysRegistered devices / max allowed
OnlineCurrently connected gateway devices

Dashboard Tabs

  • Send SMS - Quick SMS sending form
  • Credentials - API key and SMPP credentials
  • Gateways - Manage Android gateway devices
  • History - View sent SMS history

Gateway Setup

Download App

Download MSG95 Gateway APK from the Gateways tab or click here.

Install on Android

Enable "Install from unknown sources" and install the APK.

Grant Permissions

Allow SMS, Phone, and Notification permissions.

Copy Token

Go to Gateways tab in dashboard and copy your Connection Token.

Connect

Paste token in the app and tap Connect. Status should show "Online".

Important: Disable battery optimization for the app to keep it running in background.

Sending SMS

From Dashboard

Go to "Send SMS" tab, enter phone number and message, click Send.

Via API

curl -X POST "https://selfhost.smpp.asia/api/sms/send" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"phone":"09xxxxxxxxx","message":"Hello World"}'

API Integration

Getting Your API Key

Go to Credentials tab in dashboard. Your API key is displayed there.

API Base URL

https://selfhost.smpp.asia/api

EndpointMethodDescription
/api/sms/sendPOSTSend SMS message
/api/sms/historyGETGet SMS history
/api/otp/requestPOSTSend OTP
/api/otp/verifyPOSTVerify OTP
/api/client/profileGETGet profile & usage
/api/gatewaysGETList gateways
See full API documentation at api-docs.html

SMPP Connection

SMPP Credentials

Find your SMPP credentials in the Credentials tab.

SettingValue
Hostselfhost.smpp.asia
Port2558
System IDYour unique system_id
PasswordYour SMPP password

Python SMPP Example

import smpplib client = smpplib.client.Client('selfhost.smpp.asia', 2558) client.connect() client.bind_transmitter(system_id='YOUR_SYSTEM_ID', password='YOUR_PASSWORD') client.send_message( source_addr='YourApp', destination_addr='09xxxxxxxxx', short_message='Hello via SMPP!' ) client.unbind() client.disconnect()

OTP Verification

Send OTP

curl -X POST "https://selfhost.smpp.asia/api/otp/request" \ -d "accessToken=YOUR_API_KEY" \ -d "to=09xxxxxxxxx" \ -d "brand=YourApp"

Response includes requestId for verification.

Verify OTP

curl -X POST "https://selfhost.smpp.asia/api/otp/verify" \ -d "accessToken=YOUR_API_KEY" \ -d "requestId=12345" \ -d "code=384756"

Usage Limits

PackageDaily LimitMonthly LimitMax DevicesPrice (MMK)
Starter Pro50015,0002 (4 SIMs)100,000
Business Elite1,00030,0004 (8 SIMs)200,000
Enterprise Pro2,00060,0008 (16 SIMs)350,000
Enterprise Max4,000120,00016 (32 SIMs)600,000
Ultimate10,000300,00032 (64 SIMs)1,000,000
When you reach daily/monthly limit, SMS sending will be blocked until the limit resets.