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