Retrieves the WhatsApp username for a business phone number.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
Yes |
The space ID of the ISV sub-customer or the instance ID of the direct customer. You can view the Space ID on the Channel Management page. |
cams-kd*** |
| PhoneNumber |
string |
Yes |
The business phone number. |
8613800** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The access denial details. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
90E63D28-E31D-1EB2-8939-A9486641**** |
| Data |
object |
The returned data object. |
|
| Status |
string |
The status. |
approved |
| Username |
string |
The username. |
alibaba |
| Code |
string |
The response code.
|
OK |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Data": {
"Status": "approved",
"Username": "alibaba"
},
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.