<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Андрей Джабаров</title>
    <description>The latest articles on DEV Community by Андрей Джабаров (@smssender24).</description>
    <link>https://dev.to/smssender24</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3946835%2Fdb4d6e13-5003-4647-b1b8-27819790853d.png</url>
      <title>DEV Community: Андрей Джабаров</title>
      <link>https://dev.to/smssender24</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smssender24"/>
    <language>en</language>
    <item>
      <title>How to Forward Android SMS to Telegram Automatically</title>
      <dc:creator>Андрей Джабаров</dc:creator>
      <pubDate>Fri, 22 May 2026 22:45:45 +0000</pubDate>
      <link>https://dev.to/smssender24/how-to-forward-android-sms-to-telegram-automatically-2j75</link>
      <guid>https://dev.to/smssender24/how-to-forward-android-sms-to-telegram-automatically-2j75</guid>
      <description>&lt;p&gt;Bank codes, server alerts, delivery updates and team OTP messages still arrive on one physical Android phone.&lt;/p&gt;

&lt;p&gt;If that phone sits in an office drawer, a courier bag or another country, the whole team waits.&lt;/p&gt;

&lt;p&gt;This guide compares five practical ways to forward Android SMS to Telegram, from free APKs to Tasker, n8n and a cloud SMS forwarder.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR: best options
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  What SMS-to-Telegram forwarding requires
&lt;/h2&gt;

&lt;p&gt;Every implementation has the same basic pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An Android app receives incoming SMS using the SMS permissions.&lt;/li&gt;
&lt;li&gt;The app formats the message and decides whether it should be forwarded.&lt;/li&gt;
&lt;li&gt;A Telegram bot sends the message to a chat, group or channel.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Cloud SMS forwarder
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; quick QR pairing, multi-device management, routing by sender or keyword, delivery history, team access, webhooks and less manual Telegram bot configuration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Open-source Android apps
&lt;/h2&gt;

&lt;p&gt;Projects such as Spirit532 SMS Forwarder and similar APKs can read SMS locally and send them directly to Telegram Bot API or a webhook.&lt;/p&gt;

&lt;p&gt;This is the cleanest option if you want to inspect the code and avoid a cloud account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; free, auditable, no SaaS dependency, good for one phone and one or two destinations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;Example Telegram Bot API call:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;POST https://api.telegram.org/bot&amp;lt;TOKEN&amp;gt;/sendMessage
Content-Type: application/json
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"chat_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-1001234567890"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"SMS from +15551234567: Your verification code is 482913"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Tasker or MacroDroid
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; very flexible, cheap, local-first, can combine SMS with other Android triggers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; 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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. n8n webhook workflow
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Example payload:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://n8n.example.com/webhook/sms &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "sender": "AWS",
    "body": "Your alarm is in ALARM state",
    "sim": "work",
    "received_at": "2026-05-23T09:15:00Z"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; great for teams that already automate alerts and business workflows. You can branch to Telegram, Slack, email or CRM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; you still need a reliable Android collector app, a public HTTPS endpoint, secrets management, monitoring and retries.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Custom Android app
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; maximum control, private backend, custom security model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cons:&lt;/strong&gt; Android SMS permissions, background execution, foreground services, device reboot handling and battery optimization are easy to underestimate.&lt;/p&gt;

&lt;p&gt;The first version is the simple part. Keeping it reliable is the real work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Android 14/15 pitfalls
&lt;/h2&gt;

&lt;p&gt;SMS forwarding is not just an HTTP problem. Modern Android aggressively limits background work, especially for apps installed outside Google Play.&lt;/p&gt;

&lt;p&gt;Watch for these issues:&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Which method should you choose?
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Honest note
&lt;/h2&gt;

&lt;p&gt;SMS Sender 24 is an independent cloud tool built to solve a real SMS forwarding problem.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can I forward only specific SMS?
&lt;/h3&gt;

&lt;p&gt;Yes. Use sender names, phone numbers, keywords or SIM slots as routing conditions.&lt;/p&gt;

&lt;p&gt;For example, bank OTP messages can go to one Telegram chat while courier updates go to another.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does the Android phone need internet?
&lt;/h3&gt;

&lt;p&gt;Yes. The phone needs Wi-Fi or mobile data to forward messages.&lt;/p&gt;

&lt;p&gt;If connectivity drops, a reliable app should queue messages and retry when the connection returns.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is this different from SMS gateways like Twilio?
&lt;/h3&gt;

&lt;p&gt;Yes. Twilio and similar services provide virtual numbers or outbound messaging APIs.&lt;/p&gt;

&lt;p&gt;SMS forwarding starts from a real Android phone and forwards incoming messages from its SIM card.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can it work with two SIM cards?
&lt;/h3&gt;

&lt;p&gt;Yes, if the collector app records the SIM slot and the service supports SIM-based rules.&lt;/p&gt;

&lt;p&gt;This is useful when one phone has both personal and work SIM cards.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Telegram the only destination?
&lt;/h3&gt;

&lt;p&gt;No. Telegram is the most common destination, but many teams also forward to Email, Slack, Discord, X2Chat or a webhook.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://smssender24.com/en/blog/forward-android-sms-to-telegram.html" rel="noopener noreferrer"&gt;https://smssender24.com/en/blog/forward-android-sms-to-telegram.html&lt;/a&gt;&lt;/p&gt;

</description>
      <category>android</category>
      <category>telegram</category>
      <category>automation</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
