Skip to content

niros18/com.simpapp.textsmsdefault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SMS Gateway Master

Transform your Android phone into a professional SMS gateway with a REST API.

Google Play Website API Docs License

SMS Gateway Master is an Android app by Simpapp that turns any Android smartphone into a programmable SMS gateway. Send SMS programmatically via REST API using your own phone number and carrier — no Twilio, no Vonage, no per-message fees.


What It Does

  • 📤 Send SMS via REST API — HTTP POST from any language or tool
  • 📥 Receive & forward incoming SMS — webhook POST to your server in real time
  • 🤖 Auto-reply — return {"sms_text": "reply"} and the app sends it automatically
  • 🔗 Delivery webhooks — real-time status: queued → sent → delivered / failed
  • 📊 Statistics API — daily and monthly SMS usage stats
  • 🔒 Privacy-first — messages never stored in cloud, local-only via Room DB

Quick Start

1. Install the app

Download SMS Gateway Master on Google Play

Set it as your default SMS app and generate an API key in Settings → Gateway API.

2. Send your first SMS

curl -X POST https://us-central1-sms-gateway-ae7e1.cloudfunctions.net/api_sms_send \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumber": "+1234567890", "message": "Hello from SMS Gateway Master!"}'

Response:

{
  "smsId": "sms_1707400000000_abc123",
  "status": "queued",
  "timestamp": "2026-04-11T12:00:00.000Z"
}

Code Examples

Python
import requests

response = requests.post(
    'https://us-central1-sms-gateway-ae7e1.cloudfunctions.net/api_sms_send',
    headers={'X-API-Key': 'YOUR_API_KEY', 'Content-Type': 'application/json'},
    json={'phoneNumber': '+1234567890', 'message': 'Hello from Python!'}
)
print(response.json())
Node.js
const response = await fetch(
  'https://us-central1-sms-gateway-ae7e1.cloudfunctions.net/api_sms_send',
  {
    method: 'POST',
    headers: { 'X-API-Key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
    body: JSON.stringify({ phoneNumber: '+1234567890', message: 'Hello from Node.js!' })
  }
);
console.log(await response.json());
PHP
$ch = curl_init('https://us-central1-sms-gateway-ae7e1.cloudfunctions.net/api_sms_send');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => json_encode(['phoneNumber' => '+1234567890', 'message' => 'Hello from PHP!']),
    CURLOPT_HTTPHEADER => ['X-API-Key: YOUR_API_KEY', 'Content-Type: application/json'],
    CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
Two-Way SMS / Auto-Reply (Node.js)
const express = require('express');
const app = express();
app.use(express.json());

app.post('/sms-webhook', (req, res) => {
  const { type, sender, message } = req.body;

  if (type === 'incoming_sms') {
    console.log(`SMS from ${sender}: ${message}`);
    // Auto-reply
    return res.json({ sms_text: `Got your message: "${message}"` });
  }
  res.sendStatus(200);
});

app.listen(3000);

API Reference

Endpoint Method Description
/api_sms_send POST Send an SMS
/api_sms_requestStatus POST Check status / retry failed SMS
/api_sms_getStatistics GET SMS usage statistics

Base URL: https://us-central1-sms-gateway-ae7e1.cloudfunctions.net

Authentication: X-API-Key: YOUR_API_KEY header on all requests.

📖 Full API Documentation


Pricing

Plan Price Daily Limit
Free Trial €0 (7 days) 100 SMS/day
PRO Monthly €5 / month 10,000 SMS/day
PRO Annual €52 / year 10,000 SMS/day

No per-message fees. SMS delivery uses your own carrier plan.

💰 Full pricing + comparison vs Twilio / Vonage


Use Cases

Use Case Guide
Send SMS to customers (WooCommerce, Shopify) Guide →
Bulk SMS campaigns (up to 10,000/day) Guide →
WooCommerce order notifications (no plugin) Guide →
Two-way SMS + AI chatbot Guide →
Home Assistant / n8n / Zapier / Make Docs →

Integrations

Works with any tool that can make HTTP POST requests:

E-commerce: WooCommerce · Shopify · PrestaShop

Automation: Zapier · Make (Integromat) · n8n · Home Assistant · Node-RED · IFTTT · Power Automate

Languages: Python · Node.js · PHP · Java · C# · Ruby · Go · Bash

Spreadsheets: Excel VBA · Google Sheets (Apps Script)

📦 Download ready-to-use scripts


vs Twilio / Vonage / AWS SNS

SMS Gateway Master Twilio Vonage AWS SNS
10,000 SMS/month €5 flat ~$75 ~$63 ~$64.50
Per-message fee None $0.0075+ $0.0063+ $0.00645+
Phone number Your own SIM Virtual (+cost) Virtual (+cost) Virtual (+cost)
Data privacy Local only Cloud Cloud Cloud
Setup time 5 minutes Account + compliance Account + compliance AWS config

Links


Topics

sms sms-gateway android rest-api sms-api webhook automation woocommerce twilio-alternative bulk-sms two-way-sms sms-chatbot home-assistant zapier n8n

Releases

No releases published

Packages

 
 
 

Contributors

Languages