Phone Validation

This table shows where to input a phone number and its country code. The Phone number validated column shows which number is validated against the Phone pattern regex column in the Country codes and patterns table.

EndpointPhone country codePhone number validated
Create Account
Create Virtual Card Account
Start Enrollment
Update Account
mobilePhoneCountryCodemobilePhone
Create Group
Update Group
phoneCountryCodephone

Country codes and patterns

This table shows the phone country codes for each country and the regex that validates the phone number.

Phone country codeCountry namePhone pattern regex
93Afghanistan^[0-9]{9}$
355Albania^[0-9]{3,9}$
213Algeria^[0-9]{8,9}$
1American Samoa(^[0-9]{7}$|^[0-9]{10}$)
376Andorra(^[0-9]{6}$|^[0-9]{8,9}$)
244Angola^[0-9]{9}$
1Anguilla(^[0-9]{7}$|^[0-9]{10}$)
1Antigua and Barbuda(^[0-9]{7}$|^[0-9]{10}$)
54Argentina^[0-9]{10}$
374Armenia^[0-9]{8}$
297Aruba^[0-9]{7}$
61Australia^[0-9]{5,15}$
43Austria^[0-9]{4,13}$
994Azerbaijan^[0-9]{8,9}$
1Bahamas(^[0-9]{7}$|^[0-9]{10}$)
973Bahrain^[0-9]{8}$
880Bangladesh^[0-9]{6,10}$
1Barbados(^[0-9]{7}$|^[0-9]{10}$)
375Belarus^[0-9]{9,10}$
32Belgium^[0-9]{8,9}$
501Belize^[0-9]{7}$
229Benin^[0-9]{8}$
1Bermuda(^[0-9]{7}$|^[0-9]{10}$)
975Bhutan^[0-9]{7,8}$
591Bolivia^[0-9]{8}$
599Bonaire, Sint Eustatius and Saba^[0-9]{7,8}$
387Bosnia and Herzegovina^[0-9]{8}$
267Botswana^[0-9]{7,8}$
55Brazil^[0-9]{10,11}$
1British Indian Ocean Territory(^[0-9]{7}$|^[0-9]{10}$)
1British Virgin Islands(^[0-9]{7}$|^[0-9]{10}$)
673Brunei^[0-9]{7}$
359Bulgaria^[0-9]{7,9}$
226Burkina Faso^[0-9]{8}$
257Burundi^[0-9]{8}$
238Cabo Verde^[0-9]{7}$
855Cambodia^[0-9]{8}$
237Cameroon^[0-9]{8}$
1Canada(^[0-9]{7}$|^[0-9]{10}$)
1Cayman Islands(^[0-9]{7}$|^[0-9]{10}$)
236Central African Republic^[0-9]{8}$
235Chad^[0-9]{8}$
56Chile^[0-9]{8,9}$
86China^[0-9]{5,12}$
61Christmas Island^[0-9]{5,15}$
61Cocos Islands^[0-9]{5,15}$
57Colombia^[0-9]{8,10}$
269Comoros^[0-9]{7}$
242Congo^[0-9]{9}$
682Cook Islands^[0-9]{5}$
506Costa Rica^[0-9]{8}$
225Cote d'Ivoire^[0-9]{8}$
385Croatia^[0-9]{8,12}$
53Cuba^[0-9]{6,8}$
599Curaçao^[0-9]{7,8}$
357Cyprus(^[0-9]{8}$|^[0-9]{11}$)
420Czechia^[0-9]{4,12}$
45Denmark^[0-9]{8}$
253Djibouti^[0-9]{6}$
1Dominica(^[0-9]{7}$|^[0-9]{10}$)
1Dominican Republic(^[0-9]{7}$|^[0-9]{10}$)
593Ecuador^[0-9]{8}$
20Egypt^[0-9]{7,9}$
503El Salvador(^[0-9]{7}$|^[0-9]{8}$|^[0-9]{11}$)
240Equatorial Guinea^[0-9]{9}$
291Eritrea^[0-9]{7}$
372Estonia^[0-9]{7,10}$
268Eswatini^[0-9]{7,8}$
251Ethiopia^[0-9]{9}$
500Falkland Islands (Malvinas)^[0-9]{5}$
298Faroe Islands^[0-9]{6}$
679Fiji^[0-9]{7}$
358Finland^[0-9]{5,12}$
33France^[0-9]{9}$
594French Guiana^[0-9]{9}$
689French Polynesia^[0-9]{6}$
262French Southern Territories^[0-9]{9}$
241Gabon^[0-9]{6,7}$
220Gambia^[0-9]{7}$
995Georgia^[0-9]{9}$
49Germany^[0-9]{6,13}$
233Ghana^[0-9]{5,9}$
350Gibraltar^[0-9]{8}$
30Greece^[0-9]{10}$
299Greenland^[0-9]{6}$
1Grenada(^[0-9]{7}$|^[0-9]{10}$)
590Guadeloupe^[0-9]{9}$
1Guam(^[0-9]{7}$|^[0-9]{10}$)
502Guatemala^[0-9]{8}$
224Guinea^[0-9]{8}$
245Guinea-Bissau^[0-9]{7}$
592Guyana^[0-9]{7}$
509Haiti^[0-9]{8}$
504Honduras^[0-9]{8}$
852Hong Kong(^[0-9]{4}$|^[0-9]{8}$)
36Hungary^[0-9]{8,9}$
354Iceland(^[0-9]{7}$|^[0-9]{9}$)
91India^[0-9]{7,10}$
62Indonesia^[0-9]{5,10}$
98Iran^[0-9]{6,10}$
964Iraq^[0-9]{8,10}$
353Ireland^[0-9]{7,11}$
44Isle of Man^[0-9]{7,10}$|^[0-9]{12}$
972Israel^[0-9]{8,10}$
39Italy^[0-9]{6,11}$
1Jamaica(^[0-9]{7}$|^[0-9]{10}$)
81Japan^[0-9]{5,13}$
962Jordan^[0-9]{5,9}$
7Kazakhstan^[0-9]{10}$
254Kenya^[0-9]{6,10}$
686Kiribati^[0-9]{5}$
965Kuwait(^[0-9]{7}$|^[0-9]{8}$)
996Kyrgyzstan^[0-9]{9}$
856Laos^[0-9]{8,10}$
371Latvia(^[0-9]{7}$|^[0-9]{8}$)
961Lebanon^[0-9]{7,8}$
266Lesotho^[0-9]{8}$
231Liberia^[0-9]{7,8}$
218Libya^[0-9]{8,9}$
423Liechtenstein^[0-9]{7,9}$
370Lithuania^[0-9]{8}$
352Luxembourg^[0-9]{4,11}$
853Macao^[0-9]{7,8}$
261Madagascar^[0-9]{9,10}$
265Malawi(^[0-9]{7}$|^[0-9]{8}$)
60Malaysia^[0-9]{7,9}$
960Maldives^[0-9]{7}$
223Mali^[0-9]{8}$
356Malta^[0-9]{8}$
692Marshall Islands^[0-9]{7}$
596Martinique^[0-9]{9}$
222Mauritania^[0-9]{7}$
230Mauritius^[0-9]{7}$
262Mayotte^[0-9]{9}$
52México^[0-9]{10,12}$
691Micronesia^[0-9]{7}$
373Moldova^[0-9]{8}$
377Monaco^[0-9]{5,9}$
976Mongolia^[0-9]{7,8}$
382Montenegro^[0-9]{4,12}$
1Montserrat(^[0-9]{7}$|^[0-9]{10}$)
212Morocco^[0-9]{9}$
258Mozambique^[0-9]{8,9}$
95Myanmar^[0-9]{7,9}$
264Namibia^[0-9]{6,10}$
674Nauru(^[0-9]{4}$|^[0-9]{7}$)
977Nepal^[0-9]{8,9}$
31Netherlands^[0-9]{9}$
687New Caledonia^[0-9]{6}$
64New Zealand^[0-9]{3,10}$
505Nicaragua^[0-9]{8}$
227Niger^[0-9]{8}$
234Nigeria^[0-9]{7,10}$
683Niue^[0-9]{4}$
672Norfolk Island^[0-9]{6}$
850North Korea^[0-9]{6,17}$
389North Macedonia^[0-9]{8}$
1Northern Mariana Islands(^[0-9]{7}$|^[0-9]{10}$)
47Norway(^[0-9]{5}$|^[0-9]{8}$)
968Oman^[0-9]{7,8}$
92Pakistan^[0-9]{8,11}$
680Palau^[0-9]{7}$
507Panamá(^[0-9]{7}$|^[0-9]{8}$)
675Papua New Guinea^[0-9]{4,11}$
595Paraguay^[0-9]{5,9}$
51Perú^[0-9]{8,11}$
63Philippines^[0-9]{8,10}$
48Poland^[0-9]{6,9}$
351Portugal(^[0-9]{9}$|^[0-9]{11}$)
1Puerto Rico(^[0-9]{7}$|^[0-9]{10}$)
974Qatar^[0-9]{3,8}$
262Réunion^[0-9]{9}$
40Romania^[0-9]{9}$
7Russian Federation^[0-9]{10}$
250Rwanda^[0-9]{9}$
590Saint Barthelemy^[0-9]{9}$
1Saint Kitts and Nevis(^[0-9]{7}$|^[0-9]{10}$)
1Saint Lucia(^[0-9]{7}$|^[0-9]{10}$)
590Saint Martin (French part)^[0-9]{9}$
508Saint Pierre and Miquelon^[0-9]{6}$
1Saint Vincent and the Grenadines(^[0-9]{7}$|^[0-9]{10}$)
685Samoa^[0-9]{3,7}$
378San Marino^[0-9]{6,10}$
239São Tomé and Principe^[0-9]{7}$
966Saudi Arabia^[0-9]{8,9}$
221Senegal^[0-9]{9}$
381Serbia^[0-9]{4,12}$
248Seychelles^[0-9]{7}$
232Sierra Leone^[0-9]{8}$
65Singapore^[0-9]{8,12}$
1Sint Maarten (Dutch part)(^[0-9]{7}$|^[0-9]{10}$)
421Slovakia^[0-9]{4,9}$
386Slovenia^[0-9]{8}$
677Solomon Islands^[0-9]{5}$
252Somalia^[0-9]{5,8}$
27South Africa^[0-9]{9}$
500South Georgia and the South Sandwich Islands^[0-9]{5}$
82South Korea^[0-9]{8,11}$
211South Sudan^[0-9]{7,10}$
34Spain^[0-9]{9}$
94Sri Lanka^[0-9]{9}$
249Sudan^[0-9]{9}$
597Suriname^[0-9]{6,7}$
47Svalbard and Jan Mayen(^[0-9]{5}$|^[0-9]{8}$)
46Sweden^[0-9]{7,13}$
41Switzerland^[0-9]{4,12}$
963Syria^[0-9]{8,10}$
886Taiwan^[0-9]{8,9}$
992Tajikistan^[0-9]{9}$
255Tanzania^[0-9]{9}$
66Thailand(^[0-9]{8}$|^[0-9]{9}$)
670Timor-Leste^[0-9]{7}$
228Togo^[0-9]{8}$
690Tokelau^[0-9]{4}$
676Tonga(^[0-9]{5}$|^[0-9]{7}$)
1Trinidad and Tobago(^[0-9]{7}$|^[0-9]{10}$)
216Tunisia^[0-9]{8}$
90Turkey^[0-9]{10}$
993Turkmenistan^[0-9]{8}$
1Turks and Caicos Islands(^[0-9]{7}$|^[0-9]{10}$)
688Tuvalu(^[0-9]{5}$|^[0-9]{6}$)
1U.S. Virgin Islands(^[0-9]{7}$|^[0-9]{10}$)
256Uganda^[0-9]{9}$
380Ukraine^[0-9]{9}$
971United Arab Emirates^[0-9]{8,9}$
44United Kingdom^[0-9]{7,10}$|^[0-9]{12}$
1United States of America(^[0-9]{7}$|^[0-9]{10}$)
598Uruguay^[0-9]{4,11}$
998Uzbekistan^[0-9]{9}$
678Vanuatu(^[0-9]{5}$|^[0-9]{7}$)
58Venezuela^[0-9]{10}$
84Viet Nam^[0-9]{7,10}$
681Wallis and Futuna^[0-9]{6}$
967Yemen^[0-9]{6,9}$
260Zambia^[0-9]{9}$
263Zimbabwe^[0-9]{5,10}$