+ sign. This means you pass a plain digit string starting with the country code, with no spaces, dashes, or other separators.
Required format
SmsManager expects phone numbers in E.164 format without the leading+ or 00. Start directly with the country code followed by the subscriber number, with no formatting characters.
The pattern is straightforward: take the full international number, remove the leading
+, and remove all spaces, dashes, and parentheses.
Auto-normalization
SmsManager accepts several other common representations and converts them to the canonical format before processing. While this gives you some flexibility, passing numbers in the recommended E.164-without-+ format avoids any ambiguity and gives you the most reliable results — especially for numbers from countries that have non-obvious national dialling conventions.
Formats that are automatically normalised include:
- Numbers prefixed with a literal
+(e.g.+420777123456) - Numbers prefixed with the international exit code
00(e.g.00420777123456) - Numbers containing spaces, dashes, dots, or parentheses as separators (e.g.
420 777 123-456) - National format numbers with a leading
0where the country can be inferred (e.g.0777123456in some configurations)
National format with a leading
0 (e.g. 0777123456) may not be correctly identified for all countries, because the country code cannot always be inferred from the number alone. Always include the full country code to guarantee correct routing.Format validation table
Country codes
Always include the full country dialling code as the first digits of the number — do not add a leading+. For example:
- Czech Republic (
420) →420XXXXXXXXX - Germany (
49) →49XXXXXXXXXX - United States (
1) →1XXXXXXXXXX
Phone numbers in the Verify API
The Verify API accepts phone numbers in thephoneNumber field of the request body using the same format: digits only, including the country code, no leading + or 00.
The Verify API validates the number against the following pattern before accepting a session request:
- The first digit must be
1–9(no leading zeros) - Total length must be between 7 and 15 digits (inclusive)
- Only digit characters are accepted — no spaces, dashes, or
+