Skip to content

Send SMS and WhatsApp messages via SSH using your own mobile device — secure, private, and professional CLI tool.

License

SmsMobileApi/smsmobileapi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMSMobileAPI CLI

Send SMS and WhatsApp messages via SSH using your own mobile device and real phone number.
Perfect for developers, sysadmins, and automation — secure, private, and simple.


📦 Features

  • Send SMS or WhatsApp messages from the command line
  • Uses your own mobile number (no third-party SMS gateway)
  • Fast installation, works on any Linux server
  • Ideal for scripts, CRON jobs, and server alerts
  • 3-day free trial, no credit card required
  • Full control over logs and message privacy

⚙️ Requirements


📲 Download the Mobile App

To use this CLI, install the SMSMobileAPI app on your mobile phone.
The app connects your device to the API and allows messages to be sent using your real number (SMS or WhatsApp).

Download links:

Once installed, your API key is generated and linked to your device.
You get 3 days of free trial access — no registration or credit card required.


📥 Installation

Install the CLI in one command:

curl -O https://smsmobileapi.com/downloads-cli/install-cli.sh && bash install-cli.sh

This will:

  • Download the latest version of the script
  • Make it available globally as smsmobileapi
  • Optionally prompt for your API key and store it

🚀 Usage Example

Send an SMS:

smsmobileapi send --to "+32471234567" --message "Hello from server" --via sms

Send a WhatsApp message:

smsmobileapi send --to "+32471234567" --message "Hello from server" --via whatsapp

You can also provide your API key directly:

smsmobileapi send --apikey "your_api_key" --to "+32471234567" --message "With API key" --via sms

🔐 How to Store Your API Key

You can store your API key in a config file to avoid typing it every time.

Create a file:

nano ~/.smsmobileapi.conf

With content:

apikey=YOUR_API_KEY

Make it private:

chmod 600 ~/.smsmobileapi.conf

The script will automatically detect and use this key.


🔒 Privacy & Control

SMS and WhatsApp messages are sent directly from your own mobile phone using your own number.
There is no external gateway involved. You are in full control:

  • Your number is used as the sender
  • You own the logs and delivery history
  • Your messages are private and traceable
  • A from=ssh tag is included to mark SSH-originated messages

📤 Example Response

🧾 Response: {"success":true,"message":"SMS sent successfully"}

📌 Versioning

Version is stored in the VERSION file.
Full release notes in CHANGELOG.md


📄 License

MIT License — see LICENSE

About

Send SMS and WhatsApp messages via SSH using your own mobile device — secure, private, and professional CLI tool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages