CheckSmsVerifyCode
Verifies an SMS verification code and returns the verification result.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dypns:CheckSmsVerifyCode |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SchemeName |
string |
No |
The scheme name. If you do not specify this parameter, the default value "Default Scheme" is used. The value can be up to 20 characters in length. Important If the scheme name specified in the send API is not empty, ensure that this parameter is not empty and matches the scheme name in the send API. |
Test scheme |
| CountryCode |
string |
No |
The country code of the phone number. Default value: 86. |
86 |
| PhoneNumber |
string |
Yes |
The phone number. |
186****0000 |
| OutId |
string |
No |
The external serial number. |
12123231 |
| VerifyCode |
string |
Yes |
The verification code. Note
|
1231 |
| CaseAuthPolicy |
integer |
No |
The case sensitivity policy for verifying the verification code. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
| Message |
string |
The description of the status code. |
Success |
| Model |
object |
The request result data. |
|
| OutId |
string |
The external serial number. |
1212312 |
| VerifyResult |
string |
The SMS verification code verification result. Valid values:
|
PASS |
| Code |
string |
The status code of the API request.
|
OK |
| Success |
boolean |
Indicates whether the API call succeeded. Valid values:
|
true |
| RequestId |
string |
The request ID. |
CF8854E5-DB21-3E5D-A9B1-DDC752FD7384 |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "Success",
"Model": {
"OutId": "1212312",
"VerifyResult": "PASS"
},
"Code": "OK",
"Success": true,
"RequestId": "CF8854E5-DB21-3E5D-A9B1-DDC752FD7384"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.