Sends verification information to the mobile phone number of a contact.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ContactId | string | No | The ID of the contact. | c-qL4HqKONzOM7**** |
PhoneNumber | string | No | The mobile phone number of the contact. The value must be in the The specified mobile phone number must be the one you specify when you call the AddMessageContact operation. | 86-139****1234 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CD76D376-2517-4924-92C5-DBC52262F93A"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | MissingParameter.ContactId | You must specify ContactId. | The ContactId parameter is not configured. |
400 | InvalidParameter.ContactId | The ContactId is invalid. | The value of the ContactId parameter is invalid. |
400 | MissingParameter.PhoneNumber | You must specify PhoneNumber. | The PhoneNumber parameter is not configured. |
400 | InvalidParameter.PhoneNumber | The PhoneNumber is invalid. | The value of the PhoneNumber parameter is invalid. |
400 | InvalidParameter.MobileCountryCode | The current site does not support the country code. | The specified country code is not supported at the current site. |
404 | EntityNotExists.Contact | This Contact does not exist. | The specified contact does not exist. |
404 | EntityNotExists.Contact.Verification | This contact verification does not exist. | The verification code of the contact does not exist. |
409 | SendValidateCodeExceedsLimitForAccount | For the same account, the number of verification codes sent exceeds the limit. | The number of verification codes that are sent per day by using the account exceeds the upper limit. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history