The Phone Number Verification Service is a mobile phone number authentication feature that uses carrier data networks. It allows users to seamlessly register and log on with their mobile phone numbers. This feature improves the user experience and increases the registration conversion rate. You can use the following OpenAPI operations to verify and retrieve user mobile phone numbers.
OpenAPI operations for server-side integration
The OpenAPI operations required for server-side integration vary depending on the interaction mode and client type. The following table provides the details.
Client type | Interaction mode | |
One-click logon | Local number verification | |
Android | ||
iOS | ||
uni-app | ||
H5 page | ||
API information
Application client
API name | Description | Details |
Retrieves a mobile number using one-click logon. | You can call this operation to retrieve a mobile number using one-click logon from the Phone Number Verification Service server. If the operation is successful, the mobile number is returned. | |
Verifies a local mobile number. | You can call this operation to verify a local mobile number. The verification result is returned after the operation is complete. |
H5 web page
API name | Description | Details |
GetAuthToken - Obtain an H5 authentication and authorization token | Obtains an H5 authentication and authorization token. | Obtains an authorization token for H5 local number verification and authentication. The response contains an AccessToken and a JwtToken. |
GetPhoneWithToken - Retrieve a mobile number with one-click logon (for H5) | One-click logon and number retrieval (For H5 only) | You can call this operation to retrieve a mobile number using one-click logon from the Phone Number Verification Service server for H5 pages. If the operation is successful, the mobile number is returned. |
VerifyPhoneWithToken - Verify a local mobile number (for H5) | Verifies a local mobile number for H5 pages. | You can call this operation to verify a local mobile number on an H5 page. The verification result is returned after the operation is complete. |