VerifyMobile
Verifies the mobile phone number of the current device and returns the verification result.
Operation description
Preparations
Make sure that you fully understand the billing methods and pricing of Phone Number Verification Service before you call this operation.
Register an Alibaba Cloud account, obtain an AccessKey pair, and create a verification scheme. For more information, see Quick Start.
This operation applies only to local mobile phone number verification. If you want to use one-click logon, see GetMobile.
QPS limits
The QPS limit per user is 5,000 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dypns:VerifyMobile |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccessCode |
string |
Yes |
The value of the AccessCode parameter obtained by the client SDK, which is the token for local mobile phone number verification. Token validity period and usage limits:
|
Dfafdafad542**** |
| PhoneNumber |
string |
Yes |
The mobile phone number to be verified. |
13800****00 |
| OutId |
string |
No |
The external serial number. |
123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code.
|
OK |
| Message |
string |
The description of the status code. |
The request is successful |
| RequestId |
string |
The request ID. |
8906582E-6722 |
| GateVerifyResultDTO |
object |
The struct. |
|
| VerifyResult |
string |
The verification result. Valid values:
|
PASS |
| VerifyId |
string |
The serial number. |
121343241 |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": "The request is successful",
"RequestId": "8906582E-6722",
"GateVerifyResultDTO": {
"VerifyResult": "PASS",
"VerifyId": "121343241"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.