Requests a verification code to be sent to the specified phone number.
Operation description
This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
cams:GetChatappVerifyCode | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
PhoneNumber | string | Yes | The phone number. | 861380000**** |
CustSpaceId | string | Yes | The Space ID of the Independent Software Vendor (ISV) sub-customer. | cams-kei**** |
Method | string | Yes | The method to receive the verification code. Valid values:
| sms |
Locale | string | Yes | The language. For values, see Language codes. | zh_CN |
Response elements
Element | Type | Description | Example |
object | The data returned. | ||
AccessDeniedDetail | string | Details about the access denial. | None |
Message | string | The error message. | None |
RequestId | string | The request ID. | 1612C226-E271-4CFE-9F18-4066D550F91B |
Code | string | The status code of the request.
| OK |
Success | boolean | Indicates whether the call is successful.
| true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "1612C226-E271-4CFE-9F18-4066D550F91B",
"Code": "OK",
"Success": true
}Error codes
HTTP status code | Error code | Error message | Description |
400 | Product.Unsubscript | You have not subscribed to the specified product. | 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. | The system is under flow control. |
400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. | The resource does not belong to the current user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.