How it works
YourSMS Gateway sends and receives text messages through the SIM cards of Android phones you own. Your application talks to a REST API. It never talks to a phone.
text
Your application ──REST API──▶ Server ──job──▶ Android phone ──SIM card──▶ Recipient
▲ │ │
└────── webhook ─────────┴◀──── result ─────┘- Your application asks the server to send a message.
- The server queues it and hands it to one of your team's phones.
- The phone sends it as an ordinary SMS and tells the server what happened.
- The server records the result, and tells your application if you set up a webhook.
The parts
| Part | What it is | Who uses it |
|---|---|---|
| Server | The REST API, the queue, and the record of every message | Your applications, the dashboard, the phones |
| Dashboard | A website for sending by hand, following messages, and managing phones, keys and people | Your team |
| Android app | Turns a phone into a gateway | Runs unattended on each phone |
What you need
- A server. One Linux machine with Docker and a domain name. See Deploy the server.
- An Android phone, on Android 8.0 or later, that stays on a charger and online.
- A SIM card with a plan that lets you send the number of SMS you intend to send.
What it costs
The software is free. Every message is an SMS sent by your SIM card, so your mobile operator charges for it as it would for a text you typed yourself. A long message is sent as several parts, and each part is charged.
Words used in these pages
| Word | Meaning |
|---|---|
| Team | Your organisation's account. People, phones, keys and messages belong to one team. |
| Device | A phone paired with your team. Also called a gateway. |
| Pairing | Connecting a phone to your team with a one-time code. |
| Segment | One SMS part. Long messages are split into several. |
| API key | The secret an application uses to call the API. |
| Webhook | An address of yours the server calls when something happens. |
Next: send your first message.
