Your Trusted SMS Gateway
A secure, open-source solution for sending and receiving SMS messages via Android devices. No registration, email, or phone number required - just install and use.
Key Features
Privacy First
No registration, email, or phone number required. The app doesn't store any user data more than necessary outside of your infrastructure.
Multiple Operation Modes
Quick start with Local or Cloud mode, or setup your own Private instance.
Simple Integration
RESTful API, client libraries for multiple languages, and a CLI tool.
Open Source
Free and open-source software.
Operating Modes
Local Mode
Maximum privacy with data stored only on your device. Perfect for users who want complete control over their data.
- All data stays on your device
- No external servers needed
- Complete data sovereignty
Cloud Mode
Public Cloud server with optional end-to-end encryption for enhanced security and accessibility.
- Optional E2E encryption
- Easy access from anywhere
- Reliable cloud infrastructure
Private Mode
Deploy in your own infrastructure for complete control over the server environment and data storage.
- Self-hosted infrastructure
- Single command deployment
- No rebuild required
How It Works
Install the App
Download and install SMS Gateway on your Android device
Get Credentials
Get username and password from the app's Home screen
Integrate API
Use REST API or ready-to-use client libraries to integrate with your application
Quick Start
curl -X POST -u <username>:<password> \
-H "Content-Type: application/json" \
-d '{ "message": "Hello, doctors!", "phoneNumbers": ["+19162255887", "+19162255888"] }' \
https://api.sms-gate.app/3rdparty/v1/message
API Client Libraries
Official Node.js/JavaScript client library for SMS Gateway
npm install android-sms-gateway
bun add android-sms-gateway
Official Go client library for SMS Gateway
go get github.com/android-sms-gateway/client-go
Command Line Interface
Easy command-line access to SMS Gateway
Install the CLI tool from GitHub:
curl -LO https://github.com/android-sms-gateway/cli/releases/latest/download/smsgate_Linux_x86_64.tar.gz
tar xvf smsgate_Linux_x86_64.tar.gz
Example Usage
# Send an SMS message
smsgate send -u <username> -p <password> --phone '+19162255887' 'Hello, Dr. Turk!'
# Use environment variables
export ASG_USERNAME=<username>
export ASG_PASSWORD=<password>
# Send a message to multiple numbers
smsgate send --phone '+19162255887' --phone '+19162255888' 'Hello, doctors!'