NTF-22Required
Register every sender before you send
Send texts only from numbers or sender IDs registered for that country and use case. Never send business texts from an unregistered number.
Review by
2027-06-30
How to do it
Carriers and regulators block or relabel texts from senders they do not know, so unregistered sign-in codes simply never arrive. Keep one campaign per use case, such as one for sign-in codes and one for marketing. Your provider, such as Twilio, Vonage or Sinch, lists the rules per country. Check the countries you send to against the table below, and add a row before you launch in a new one. Alphanumeric sender IDs, such as ExampleShop, are not supported in the US or Canada. Confirm each new subscriber as Confirm each text opt-in says.
Examples
| Country | What to register | Who runs it |
|---|---|---|
| United States | Brand and campaign for 10DLC numbers, toll-free verification, short code approval | The Campaign Registry and the carriers. Twilio has blocked unregistered 10DLC traffic since 1 September 2023 |
| India | Your business as a Principal Entity, each header (sender ID) and each message template, on the operators' DLT platform | Required by TRAI's 2018 commercial communications regulations |
| United Kingdom | Alphanumeric sender IDs you want protected from spoofing | The SMS SenderID Protection Registry, run by the Mobile Ecosystem Forum |
| Sweden | Alphanumeric sender names, registered with the regulator for a fee | Post- och telestyrelsen (PTS), under an ordinance in force since 1 August 2026 |
JavaScript example
// One sender per country and use case, read from settings, never typed inline
export const SMS_SENDERS = {
US: { verification: '+12025550142', marketing: '+12025550143' },
SE: { verification: 'ExampleShop', marketing: 'ExampleShop' },
};
export const senderFor = (country, useCase) => {
const sender = SMS_SENDERS[country]?.[useCase];
if (!sender) throw new Error(`No registered SMS sender for ${country} ${useCase}`);
return sender;
};
Python example
SMS_SENDERS = {
"US": {"verification": "+12025550142", "marketing": "+12025550143"},
"SE": {"verification": "ExampleShop", "marketing": "ExampleShop"},
}
def sender_for(country: str, use_case: str) -> str:
sender = SMS_SENDERS.get(country, {}).get(use_case)
if sender is None:
raise LookupError(f"No registered SMS sender for {country} {use_case}")
return sender
How to check
Every sending number and sender ID in the provider account maps to an approved registration in a table kept with the code. A staging send to each target country arrives with the expected sender. A test fails when the code names a sender with no row in that table.
Sources
- Twilio, A2P 10DLC
- TRAI, Telecom Commercial Communications Customer Preference Regulations, 2018
- Twilio, Error 30034, message from an unregistered number
Related rules
- NTF-23 Confirm each text opt-in in Notifications
- NTF-39 Link only to your own domain in texts in Notifications
- NTF-44 Fail over to a second text provider in Notifications
- STK-78 Use Twilio to send text messages in Software choices
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/notifications/text-messages/sms-sender-registration">Agent Wranglers notifications playbook</a>. In code you write, add a comment next to it with the same link.