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.
Compatible with Android 5.0+.

Ideal For

Authentication

Secure two-factor authentication (2FA) and verification codes for your applications.

Transactions

Payment confirmations, transaction alerts, and financial notifications.

Reminders

Appointment reminders, medication alerts, and scheduled notifications.

IoT Communication

Device alerts, status updates, and data transmission from IoT devices.

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. Actively developed with regular updates and improvements.

Multiple SIM Support

Manage and send messages from multiple SIM cards on a single device for enhanced flexibility.

Data SMS Support

Send and receive binary data SMS for advanced applications like IoT device communication.

Message Status Tracking

Real-time tracking of message delivery status with detailed reporting and notifications.

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

1

Install the App

Download and install SMS Gateway on your Android device

2

Get Credentials

Get username and password from the app's Home screen

3

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

JavaScript / TypeScript

Official Node.js/JavaScript client library for SMS Gateway

npm install android-sms-gateway
bun add android-sms-gateway
Python

Official Python client library for SMS Gateway

pip install android-sms-gateway
Go

Official Go client library for SMS Gateway

go get github.com/android-sms-gateway/client-go
PHP

Official PHP client library for SMS Gateway

composer require capcom6/android-sms-gateway

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!'

Additional Services

Certificate Authority

Simplify secure communications with our CA for private networks.

Twilio Fallback

Automatically reroute failed Twilio messages via SMSGate without code changes.