Send an SMS Using Shell

The TextMagic API Shell wrapper can save you a lot of time, as it includes all the necessary API commands. It only takes a few seconds to download it from GitHub and to install it into your own app or software. After installation, you'll then be able to send text messages.

Get it now on GitHub
Shell logo

Installation Instructions

  1. Download the latest version of the wrapper from GitHub.
  2. Put into any folder or into PATH, if you want to use it globally.


The Shell wrapper for the TextMagic API has the following requirement:

  • Bash version 3 or newer.

Send SMS via Shell (an example)

Run this in your command prompt or execute in script: send --text="Hello from TextMagic" --phones=447860021130


If you need help with the wrapper, or if you have any suggestions for improvements and/or if you have any enquiries regarding Shell script SMS messages, please contact us by emailing¬†[email protected].