RootAuth supports SMS verification code delivery for non-mainland China phone numbers. After it is enabled, international phone numbers can be used for sign-up, login, password reset, and SMS-based secondary verification.
Path: Log in to the RootAuth console → open the target application → click Configuration in the top navigation bar → Branding → SMS → select International SMS Service
1. Before You Start
Before configuring international SMS, make sure you have prepared the following:
- Confirm whether international SMS should be enabled for the application.
- Decide whether to use RootAuth built-in SMS or a custom SMS provider.
- If you use a custom provider, prepare the provider credentials, signature or SenderId, and template IDs.
- Prepare a test phone number with a non-+86 country or region code.
2. Select a Service Type
Choose the SMS provider from Service type. Built-in SMS is selected by default.
| Service type | Description |
|---|---|
| Built-in SMS | Use RootAuth built-in international SMS. No provider credentials are required. |
| Alibaba Cloud SMS | Use your own Alibaba Cloud international SMS service. |
| Tencent Cloud SMS | Use your own Tencent Cloud SMS service. |
| Ucloud SMS | Use your own Ucloud SMS service. |
3. Configure Built-in SMS
If you select Built-in SMS, no additional fields are required. RootAuth sends verification codes through its built-in international SMS service.
Click Save and Send Test SMS to open the Send International Test SMS dialog. Select a country or region code and enter a phone number to test delivery.
International test SMS does not validate the phone number format. The country or region code list shows global non-+86 options by default.
4. Configure Alibaba Cloud SMS
| Field | Required | Description |
|---|---|---|
| AccessKey ID | Yes | The AccessKey ID of your Alibaba Cloud account. |
| AccessKey Secret | Yes | The AccessKey Secret of your Alibaba Cloud account. |
| Validity period | Yes | Verification code validity period, in minutes. Keep it consistent with the SMS template. |
| SenderId | No | Sender identifier for international SMS, if required by the provider. |
| Brand identifier | No | Brand text displayed at the beginning of SMS content. The same brand identifier is reused across scenarios. |
| Sign-up verification template ID | Yes | Template ID used for sign-up verification codes. |
| Login verification template ID | Yes | Template ID used for login verification codes. |
| Password reset verification template ID | Yes | Template ID used for password reset verification codes. |
| Login secondary verification template ID | Required in some cases | Required if SMS MFA was enabled before configuring the custom provider. |

Alibaba Cloud international SMS content follows provider rules and usually stays consistent with RootAuth built-in SMS content. Scenario-specific message body editing is not supported.
5. Configure Tencent Cloud SMS
| Field | Required | Description |
|---|---|---|
| SdkAppId | Yes | The SdkAppId of your Tencent Cloud SMS application. |
| SecretKey | Yes | The SecretKey of your Tencent Cloud account. |
| SecretId | Yes | The SecretId of your Tencent Cloud account. |
| Region ID | Yes | Select the SMS service region, such as North China, South China, or East China. |
| Validity period | Yes | Verification code validity period, in minutes. Keep it consistent with the SMS template. |
| Signature | No | SMS signature text, not the signature ID. |
| SenderId | No | Sender identifier for international SMS. |
| Sign-up verification template ID | Yes | Template ID used for sign-up verification codes. |
| Login verification template ID | Yes | Template ID used for login verification codes. |
| Password reset verification template ID | Yes | Template ID used for password reset verification codes. |
| Login secondary verification template ID | Required in some cases | Required if SMS MFA was enabled before configuring the custom provider. |
6. Configure Ucloud SMS
| Field | Required | Description |
|---|---|---|
| PublicKey | Yes | The public key of your Ucloud account. |
| PrivateKey | Yes | The private key of your Ucloud account. |
| Validity period | Yes | Verification code validity period, in minutes. Keep it consistent with the SMS template. |
| Signature | Yes | SMS signature text, not the signature ID. |
| ProjectId | No | The ID of a specific project under the current account. |
| SenderId | No | Sender identifier for international SMS. |
| Sign-up verification template ID | Yes | Template ID used for sign-up verification codes. |
| Login verification template ID | Yes | Template ID used for login verification codes. |
| Password reset verification template ID | Yes | Template ID used for password reset verification codes. |
| Login secondary verification template ID | Required in some cases | Required if SMS MFA was enabled before configuring the custom provider. |
7. Send a Test SMS
Click Save and Send Test SMS to open the Send International Test SMS dialog.
Select a template and country or region code, enter a phone number, and click Confirm. Use this test to verify that the current international SMS configuration can send messages successfully.
8. What Happens After Saving
After the configuration is saved, international SMS verification codes for the current application are sent through the selected provider. This affects sign-up, login, password reset, and SMS-based secondary verification for international phone numbers.
To restrict the country or region codes users can select, go to Application Management → Login Control and configure the phone number region code policy.