惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Vercel News
Vercel News
F
Fortinet All Blogs
月光博客
月光博客
G
Google Developers Blog
博客园 - Franky
GbyAI
GbyAI
The Cloudflare Blog
I
InfoQ
雷峰网
雷峰网
WordPress大学
WordPress大学
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
小众软件
小众软件
腾讯CDC
B
Blog
量子位
V
V2EX
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to Forward Android SMS to Telegram Automatically
Андрей Джаба · 2026-05-23 · via DEV Community

Bank codes, server alerts, delivery updates and team OTP messages still arrive on one physical Android phone.

If that phone sits in an office drawer, a courier bag or another country, the whole team waits.

This guide compares five practical ways to forward Android SMS to Telegram, from free APKs to Tasker, n8n and a cloud SMS forwarder.

TL;DR: best options

Method Best for Setup time Main trade-off
Cloud SMS forwarder Teams, multiple devices, business workflows 2-5 min SMS passes through a third-party service
Open-source APK Personal use, strict privacy, one phone 15-30 min Manual setup and maintenance
Tasker / MacroDroid Power users already using Android automation 30-60 min Fragile rules and battery optimization issues
n8n webhook Teams with existing automation infrastructure 1-2 hours You maintain the workflow and endpoint
Custom app Regulated environments or internal tooling Days/weeks Highest maintenance cost

What SMS-to-Telegram forwarding requires

Every implementation has the same basic pipeline:

  1. An Android app receives incoming SMS using the SMS permissions.
  2. The app formats the message and decides whether it should be forwarded.
  3. A Telegram bot sends the message to a chat, group or channel.

The difference is where the routing logic lives. It can live on the phone, in Tasker, in an n8n workflow, in your own backend or in a SaaS dashboard.

1. Cloud SMS forwarder

A cloud SMS forwarder pairs your Android phone with a web dashboard. Incoming SMS are sent securely to the service, matched against routing rules, then delivered to Telegram, Email, Slack, Discord, X2Chat or a webhook.

Pros: quick QR pairing, multi-device management, routing by sender or keyword, delivery history, team access, webhooks and less manual Telegram bot configuration.

Cons: SMS passes through a cloud service. If your use case requires zero third-party processing, a self-hosted or open-source option is a better fit.

SMS Sender 24 is in this category. It works well when one team needs to share OTP codes, server alerts or business SMS from several Android phones without maintaining Android automation on every device.

2. Open-source Android apps

Projects such as Spirit532 SMS Forwarder and similar APKs can read SMS locally and send them directly to Telegram Bot API or a webhook.

This is the cleanest option if you want to inspect the code and avoid a cloud account.

Pros: free, auditable, no SaaS dependency, good for one phone and one or two destinations.

Cons: you maintain every phone manually. Rules, bot tokens, chat IDs and battery settings are configured per device. Some projects go years without updates, which matters on newer Android versions.

Example Telegram Bot API call:

POST https://api.telegram.org/bot<TOKEN>/sendMessage
Content-Type: application/json

Enter fullscreen mode Exit fullscreen mode

{
  "chat_id": "-1001234567890",
  "text": "SMS from +15551234567: Your verification code is 482913"
}

Enter fullscreen mode Exit fullscreen mode

3. Tasker or MacroDroid

Tasker and MacroDroid can listen for SMS events and call Telegram Bot API through an HTTP action. This is powerful if you already understand Android automation.

Pros: very flexible, cheap, local-first, can combine SMS with other Android triggers.

Cons: hard to support as a team workflow. A missed battery permission, Android update or broken profile can silently stop forwarding. Debugging is usually on the person holding the phone.

This method is great for personal automation. It is less great when three people depend on that phone to receive production alerts or bank OTP codes.

4. n8n webhook workflow

If your team already runs n8n, Make or another automation platform, the Android app can send SMS to a webhook. The workflow can then filter messages and forward them to Telegram.

Example payload:

curl -X POST https://n8n.example.com/webhook/sms \
  -H "Content-Type: application/json" \
  -d '{
    "sender": "AWS",
    "body": "Your alarm is in ALARM state",
    "sim": "work",
    "received_at": "2026-05-23T09:15:00Z"
  }'

Enter fullscreen mode Exit fullscreen mode

Pros: great for teams that already automate alerts and business workflows. You can branch to Telegram, Slack, email or CRM.

Cons: you still need a reliable Android collector app, a public HTTPS endpoint, secrets management, monitoring and retries.

5. Custom Android app

Building your own Android app is reasonable for regulated environments, internal device fleets or very specific routing requirements. It gives you full control over data handling and backend architecture.

Pros: maximum control, private backend, custom security model.

Cons: Android SMS permissions, background execution, foreground services, device reboot handling and battery optimization are easy to underestimate.

The first version is the simple part. Keeping it reliable is the real work.

Android 14/15 pitfalls

SMS forwarding is not just an HTTP problem. Modern Android aggressively limits background work, especially for apps installed outside Google Play.

Watch for these issues:

  • Battery optimization: the app may stop receiving or forwarding after several hours unless excluded from battery restrictions.
  • Foreground service rules: long-running background services need a visible notification and correct service type.
  • Boot handling: forwarding should resume after the phone restarts.
  • Connectivity gaps: the phone needs Wi-Fi or mobile data. Good apps queue messages and retry.
  • Dual SIM: personal and work SIMs often need different routing rules.

Which method should you choose?

Scenario Recommended method Why
One personal phone, one Telegram chat Open-source APK Free and simple enough
Team OTP codes Cloud SMS forwarder Rules, history and team destinations matter
Server SMS alerts Cloud forwarder or n8n Reliability and routing are more important than novelty
Strict privacy / no third party Open-source or custom app Keep data under your control
Existing automation stack n8n webhook Easy to plug into current workflows

Honest note

SMS Sender 24 is an independent cloud tool built to solve a real SMS forwarding problem.

It is convenient for teams, but it is not the right choice if your policy requires zero third-party processing. In that case, use an open-source app or self-host the whole pipeline.

FAQ

Can I forward only specific SMS?

Yes. Use sender names, phone numbers, keywords or SIM slots as routing conditions.

For example, bank OTP messages can go to one Telegram chat while courier updates go to another.

Does the Android phone need internet?

Yes. The phone needs Wi-Fi or mobile data to forward messages.

If connectivity drops, a reliable app should queue messages and retry when the connection returns.

Is this different from SMS gateways like Twilio?

Yes. Twilio and similar services provide virtual numbers or outbound messaging APIs.

SMS forwarding starts from a real Android phone and forwards incoming messages from its SIM card.

Can it work with two SIM cards?

Yes, if the collector app records the SIM slot and the service supports SIM-based rules.

This is useful when one phone has both personal and work SIM cards.

Is Telegram the only destination?

No. Telegram is the most common destination, but many teams also forward to Email, Slack, Discord, X2Chat or a webhook.


Originally published at https://smssender24.com/en/blog/forward-android-sms-to-telegram.html