textbee turns an Android phone with a SIM into an SMS API: your apps send and receive texts via REST, webhooks, or MCP, using your carrier plan instead of per-message API fees.
Overview
textbee is an open-source SMS gateway built around an Android phone and its SIM card. Application code calls a REST API; the API queues work and notifies the phone, which sends or receives SMS over the mobile network. Incoming messages are available through the API, the web dashboard, or signed webhooks.
The hosted service at textbee.dev offers a free tier, while the full stack—the NestJS API, Next.js dashboard, MongoDB, Redis, and Kotlin Android app—can be self-hosted with Docker Compose or a manual Node deployment. Users register phones by scanning a QR code from the dashboard, manage API keys, view history, schedule sends, upload CSV bulk lists, and configure allow or block filters on the device.
Integrations include official JavaScript and Python SDKs, HMAC-signed webhooks for delivery and inbound events, guides for tools such as n8n, Zapier, and Home Assistant, and an MCP server so AI agents can send texts and read replies. Delivery states track pending through failed, with multi-device and multi-SIM selection per message.
The product positions itself against traditional SMS APIs by using your own number and carrier costs, with setup described as minutes to install the app and pair a device. Messages require the phone to stay powered, online, and running the gateway app.
Key features
- REST API for send and receive SMS
- Kotlin Android gateway app
- Web dashboard and API keys
- Webhooks with HMAC signatures
- Bulk CSV and scheduled sends
- Multi-device and multi-SIM routing
- Official MCP server for agents
- Docker Compose self-host stack
Use cases
- OTP and two-factor verification texts
- Order and appointment notifications
- Monitoring alerts to your phone number
- Two-way SMS via webhooks
- AI agents that send and read SMS
Open-source alternative to
Twilio“It is a drop-in Twilio alternative for OTP codes, alerts, reminders, and two-way SMS, at the cost of your carrier plan.” source