How to Set Up SMS Forwarding to Telegram

Step 1: Create Your Telegram Bot

  • Launch Telegram and search for BotFather (@botfather)
  • Start a chat and send the /newbot command
  • Follow the prompts to name your bot
  • Copy and securely store the API token BotFather provides - you'll need this later

Your API token will look something like this:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz

Step 2: Set Up Your Telegram Group

  • Create a new Telegram group for receiving SMS messages
  • Add your newly created bot to the group
  • Visit web.telegram.org and log in
  • Open your group chat
  • Look in your browser's address bar - the group ID will be at the end of the URL starting with "-"

The URL will look like this:

For example:
URL: https://web.telegram.org/k/#-4000000000
Group ID: -4000000000

Step 3: Configure SMS Forwarding

  • Log into your Fasken Global account and go to your phone number settings
  • Set up an HTTP webhook using this format:
    https://api.telegram.org/bot[YOUR_API_TOKEN]/sendMessage?chat_id=[YOUR_GROUP_ID]&text=Incoming%20SMS%20to%20%TO%%20from%20%FROM%%20%MESSAGE%
  • Replace [YOUR_API_TOKEN] with your bot's token and [YOUR_GROUP_ID] with your group ID
  • Save your settings

Message Format

Once configured, you'll receive SMS messages in your Telegram group with this format:
Incoming SMS to [recipient] from [sender] [message content]

You can customize the message format using these variables:

  • %TO% - Recipient's phone number
  • %FROM% - Sender's phone number
  • %MESSAGE% - SMS content

Get Started with SMS Forwarding
Set up your SMS-to-Telegram forwarding in minutes!

Buy Virtual Number

⭐⭐⭐⭐⭐
For Enterprises, SMEs & Startups