Obtains the verification code of a phone number for migration.
Operation Description
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CustSpaceId | string | Yes | The space ID of the user under the ISV account. | 293483938849493 |
PhoneNumber | string | Yes | The phone number. | 8613800001234 |
Locale | string | Yes | The language. | zh_CN |
Method | string | Yes | The method to obtain the verification code. Valid values: sms and voice. | sms |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Code": "OK",
"Message": "None",
"Data": {
"PhoneNumber": "8613800001234",
"Id": "82828893332"
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | Product.Unsubscript | You have not subscribed to the specified product. |
400 | Ram.PermissionDeny | You are not authorized to perform the operation. |
400 | System.LimitControl | The system is under flow control. |
400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
For a list of error codes, visit the Service error codes.