SMS 短碼、長碼與發送者 ID:各地應如何選用
SMS Short Codes vs Long Codes vs Sender IDs: Which to Use, Country by Country
短碼、長碼和字母數字發送者 ID 各有用途,實際可用的發送方式取決於目的地國家的規定。發送者類型會影響速度,100,000 個訊息片段可能需時 17 分鐘或 28 小時;字母數字發送者 ID 最多可用 11 個字元,但美國、加拿大和中國不支援。印度的商業 SMS 須使用在 DLT 登記的標頭或號碼系列,不能使用一般 10 位數電話號碼。
A 6 number code in SMS is usually a short code, such as a five- or six-digit US short code. In some countries it can also be a registered business sender, such as India's six-digit DLT promotional headers. A long code is an ordinary full-length phone number, and an alphanumeric sender ID shows a brand name instead of digits. Short codes favour volume and recall, long codes favour conversation, sender IDs favour recognition, and the country you send to decides what is allowed.
Note: Key takeaways
- Six digits on a phone can mean five different things, and only some of them are short codes.
- Alphanumeric sender IDs show your brand in up to 11 characters, but the US, Canada and China don't support them.
- Some countries route business SMS through registered senders rather than purchased long codes. India's DLT headers are the clearest example.
- Sender type sets your send speed: 100,000 segments can take 17 minutes or 28 hours.
- A US short code doesn't travel, so plan your senders country by country.
What does a 6 number code actually mean?
Most guides treat a six-digit number as a short code and stop there. That answer holds in the US, but it misleads in countries where six digits can be a registered header, such as India.
The position of the digits is the first clue. The next clue is the country of the phone.
Here is what sits behind each answer:
| What you see | What it is | Who controls it |
|---|---|---|
| Six digits in the message text | A one-time passcode, or a reference number. RFC 4226 sets six digits as the minimum for HOTP passcodes. | The app that generated it |
| 127XXX as the sender | A consent-seeking code. TRAI's 2025 amendment names this series for consent requests. | Indian access providers |
| VM-6XXXXX-P as the sender | A promotional header: six registered digits with an operator prefix and a type suffix. | The registered business |
| Digits with no operator prefix on an Indian phone | An international route code. AWS says these messages show a random shared short code. | The carrier on that route |
| Five or six digits on a US phone | A common short code, in the US registry's 20000 to 99999 and 200000 to 999999 ranges. | The leaseholder |
Search behaviour reflects this confusion too. Many people searching for a "6 digit code" want to know what a passcode is, or why one arrived. If you didn't request a passcode, don't share it with anyone.
How do short codes and long codes differ?
The core trade is capacity against flexibility. Published figures vary, so this table links the source for each one.
| Short code | Long code | |
|---|---|---|
| Length | Five or six digits in the US. | A full phone number, as in E.164 format. |
| Published US rate | 100 parts per second on AWS. | Set by your 10DLC campaign. A2P.guide lists 240 to 4,500 per minute on AT&T by vetting score, and lower caps for low-volume and sole proprietor campaigns. |
| Voice calls | Generally not supported. | Supported, so text and calls can share a number. |
| Lead time | Two to four weeks per the registry. | Days to weeks for 10DLC. |
| Running cost | US$500 a month for a random code, US$1,000 for one you choose, before provider fees. | A number rental, as on Vobiz messaging numbers. |
| Across borders | US codes work only in the US. Canada has its own program. | Depends on the destination's rules. |
The lease prices come from the US registry's FAQ, read on 3 November 2026. They are third-party figures and not Vobiz prices.
Toll-free numbers are often classed as a type of long code. Size them separately, because AWS publishes 3 parts per second for US toll-free. AWS also warns that spreading traffic across several toll-free numbers to get past that limit can get all of it filtered as snowshoeing.
Where do alphanumeric sender IDs fit?
An alphanumeric sender ID replaces the number with a name, such as ACME. AWS documents the usual limits: up to 11 characters and at least one letter. AWS also says sender IDs don't support two-way messaging, so recipients can't reply.
Support varies by country:
- Not supported: AWS lists several major markets, including the US, Canada and China, that don't accept sender IDs. Use a short code, 10DLC or toll-free number there.
- Registration required: Some countries ask for pre-approval. Singapore has required every sender ID to be in its SMS Sender ID Registry since 31 January 2023, and labels unregistered ones "Likely-SCAM".
- Optional protection: In the UK, brands can list their sender IDs in the MEF SenderID Protection Registry, so participating networks block lookalikes.
Sender IDs suit one-way alerts and codes. If you need replies, use a short code or long code instead.
How do registered-header countries work? India as an example
Some countries take the long code question off the table. India is the clearest example. TRAI's press note on the 2025 amendment says commercial communication must originate from designated headers or number series, not from normal 10-digit numbers.
So a business sending in India doesn't pick between a short code and a long code. It registers a header on a DLT portal, and operators check each message against that registration.
Each part of that string has its own source:
- Length: TRAI's 2020 note says six characters were in use, with nine in total after the prefix. The explanatory notes to the 2025 amendment still count nine characters in use out of 11 allowed, which is why a two-character suffix fits.
- Prefix: The same TRAI note assigns the first letter to the operator and the second to the service area.
- Suffix: The 2025 amendment adds -P, -S, -T or -G for message type. Zoho reports that this began on 6 May 2025.
- Digits or letters: Alibaba Cloud describes numeric headers for promotions and alphabetic headers for transactional traffic.
- First digit: Zoho's table maps it to a business category, with 1 for banking and 2 for real estate. TRAI's preference schedule numbers its categories the same way, but the header rule itself comes from vendor guides, so check your portal's list before you register.
The numeric form is the part that confuses people. A header such as VM-1XXXXX-P looks like a short code, but it behaves like a registered display name.
What about India's actual short codes?
India does have short codes in the strict sense. 1909 is the complaint code for unwanted commercial messages. The 127XXX series is for consent requests, and the 2025 amendment requires those messages to name the business and scope. The Third Amendment also lets TRAI specify other codes or SMS headers for consent-related messages.
Traffic from abroad takes another path. AWS says international route messages show a random shared short code unless you buy a dedicated one. Your brand won't appear in the sender field on that route.
What keeps a header working?
Registration isn't a one-time job. TRAI has added upkeep duties in the last two years:
- Unused headers: Those idle for 90 days are temporarily deactivated, and reactivated on request.
- Annual certification: Under the same amendment, senders self-certify their details, headers and templates each year, or the uncertified items are suspended.
- Template binding: The amendment says one content template can't be linked to more than one header.
- Misuse response: The Third Amendment, notified on 18 September 2026, has the originating operator suspend a misused header within six hours of noticing the misuse. This clause takes effect 60 days after Gazette publication, so check its status when you read this.
- Re-consent: TRAI's 2025 note says a sender can only ask an opted-out customer for consent again after 90 days.
Promotional traffic has extra limits. TRAI's 2018 regulations keep the time bands before 10:00 and after 21:00 off by default, unless the customer switches them on. Alibaba Cloud's guide, updated in March 2026, lists delivery between 10am and 9pm IST, and blocks numbers on the national do-not-disturb list. Vobiz covers the preference rules in UCC and NDNC compliance.
How long does a send take on each sender?
Throughput sounds abstract until you divide your list by it. This chart does that for 100,000 message segments, using published limits and no benchmarks of our own.
Three details change the real number:
- Limits count segments, not messages. AWS measures message parts per second, so long texts use more capacity.
- Script changes your segment count. A split segment holds 153 characters per split GSM-7 segment and 67 for UCS-2, the encoding most non-Latin scripts need.
- Daily caps can bind before rate limits. A2P.guide lists a T-Mobile cap from 200,000 messages a day down to 2,000, set by brand vetting score.
Here is a worked example for script. A 150-character English message fits in one segment. The same length in Hindi needs three, so 100,000 recipients become 300,000 segments.
Take the 100-per-second limit above as a yardstick. That send moves from about 17 minutes to 50 minutes. Your Hindi campaign needs a schedule that allows for this.
What does each route take to set up?
Each sender type asks you to prove something different. The US ties approval to your campaign's purpose. A sender ID registry ties it to your brand name. India ties it to your business, your header and your exact wording.
The practical differences show up late in a project:
- India: Message text must match the registered template. Vobiz's India DLT guide calls wording drift the most common reason an Indian operator rejects a message.
- US short code: You pay for the lease before carriers approve the campaign. The registry offers terms of three, six or 12 months, with the full payment due upfront.
- US 10DLC: Your vetting score sets the limit you inherit on AT&T and T-Mobile, so treat brand registration as a capacity decision. See 10DLC campaigns and US toll-free verification.
Which sender should you choose?
Start with the recipient's country, because it rules out options before volume matters. Then choose by what the message needs to do.
These rules of thumb resolve most cases:
- Choose a US short code for bursts, such as a flash sale or a text-to-join campaign, and when recall of the number matters.
- Choose 10DLC when your US volume is steady, and when you want one number for text and voice.
- Choose toll-free when volume is low and a single US number is enough.
- Choose an alphanumeric sender ID for one-way alerts in countries that support it, and register it where the country requires.
- Choose a DLT header for commercial SMS to Indian recipients sent over local routes.
- Choose the WhatsApp Business API when a customer journey needs a real back-and-forth conversation.
Avoid two common errors. Don't budget for one global short code, since each code belongs to one country's program. Don't plan an Indian launch around a long code either, because the regulator has pointed commercial traffic elsewhere.
Vobiz docs for this topic
The setup details for this are in the Vobiz docs:
Anything that places calls or sends messages is billed and reaches real people, so run it only with your own credentials after confirming the details.
Frequently asked questions
What is a 6 number code?
It is a six-digit number used in SMS. As a sender, it is often a short code, as in the US, or a registered business header, as in India. Inside a message, it is usually a one-time passcode. Where the digits appear tells you which one you have.
Why did I get a text from a 6-digit number?
A business probably sent it. In the US, it is likely a short code. In India, promotional senders use six-digit headers with a prefix and a -P suffix, and you can report unwanted messages to 1909. Treat any sender as a label, not as proof of identity.
What is the difference between a long code and a short code in SMS?
A short code is a dedicated five- or six-digit sender built for high-volume messaging. A long code is a full-length phone number that can also carry voice. Short codes usually send faster and cost more to run, while long codes suit conversations.
Can you call or reply to a short code?
You can usually text a short code, because many programs use two-way keywords. You generally can't call one, since short codes carry messaging and not voice. Replies depend on the specific program and country.
What is an alphanumeric sender ID?
It is a sender name, such as ACME, shown instead of a number. It holds up to 11 characters and can't receive replies. Many countries accept it, some require registration first, and the US, Canada and China don't support it.
How long does it take to get a short code?
In the US, the lease itself can take minutes, but carrier approval takes longer. The registry says to plan for two to four weeks. Build that time into your launch plan.
Further reading on Vobiz
- India DLT for SMS · DLT entity registration guide · UCC and NDNC compliance
- Messaging compliance overview · Sending SMS · Messaging numbers
- E.164 phone number formatting · Toll-free vs local vs mobile numbers
Sources
Sender ID registries and references
- AWS, Sender IDs in AWS End User Messaging SMS.
- AWS, Choosing an origination identity.
- SGNIC, SMS Sender ID Registry overview, Singapore.
- Mobile Ecosystem Forum, SMS SenderID Protection Registry.
Indian regulators
- TRAI, Telecom Commercial Communications Customer Preference (Second Amendment) Regulations, 2025, February 2025.
- TRAI, Press release 11/2025 on the TCCCPR amendments, February 2025.
- TRAI, Telecom Commercial Communications Customer Preference (Third Amendment) Regulations, 2026, 18 September 2026.
- TRAI, Press release on the Third Amendment, 18 September 2026.
- TRAI, Telecom Commercial Communications Customer Preference Regulations, 2018, 19 July 2018.
- TRAI, Headers assigned by the Access Providers to Principal Entities, June 2020.
Standards and registries
- IETF, RFC 4226: HOTP, an HMAC-based one-time password algorithm, December 2005.
- CTIA US Short Code Registry, Frequently asked questions, read 3 November 2026.
Provider documentation
- AWS, Message parts per second limits, read 3 November 2026.
- AWS, International and local routes for India, read 3 November 2026.
- Alibaba Cloud, A2P SMS regulations for India, updated March 2026.
- Zoho, SMS campaigns help: header framing and message suffixes, read 3 November 2026.
Industry articles
- A2P.guide, 10DLC trust score and carrier throughput, read 3 November 2026.
Send your first SMS with Vobiz — Set up a messaging number and send a test message with your own credentials.
If your senders will also need to take calls with a voice AI agent, Vobiz provides phone numbers and SIP trunking for that.
來源:DEV Community · dev.to




