Queries the WhatsApp Business accounts associated with Chat App.
Operation description
This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:QueryChatappBindWaba |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
No |
The space ID of the user under the ISV account. |
293483938849493 |
| IsvCode |
string |
No |
The ISV verification code, which is used to verify whether the user is authorized by the ISV account. |
aksik93kdkkxmwol93939 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message returned. |
SUCCESS |
| RequestId |
string |
The ID of the request. |
90E63D28-E31D-1EB2-8939-A9486641**** |
| Data |
object |
The returned data. |
|
| AuthInternationalRateEligibility |
object |
WABA related information. |
|
| BusinessName |
string |
The business name. |
Alibaba |
| Currency |
string |
The currency. |
USD |
| Id |
string |
The ID of the WhatsApp Business account. |
20393988393993*** |
| AccountReviewStatus |
string |
The review state of the WhatsApp Business account (WABA). Note
Valid values:
|
APPROVED |
| MessageTemplateNamespace |
string |
The namespace of the message template. |
93e6b26e_8a67_4163_a093_ebfe645a66b0 |
| BusinessId |
string |
The business ID. |
19293988*** |
| Name |
string |
The name of the WhatsApp Business account. |
Alibaba |
| PrimaryBusinessLocation |
string |
The start time when the authentication-international rate applies. |
"start_time":1721952000 |
| Code |
string |
The HTTP status code returned.
|
OK |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "SUCCESS",
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Data": {
"AuthInternationalRateEligibility": {
"test": "test",
"test2": 1
},
"BusinessName": "Alibaba",
"Currency": "USD",
"Id": "20393988393993***",
"AccountReviewStatus": "APPROVED",
"MessageTemplateNamespace": "93e6b26e_8a67_4163_a093_ebfe645a66b0",
"BusinessId": "19293988***",
"Name": "Alibaba",
"PrimaryBusinessLocation": "\"start_time\":1721952000"
},
"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.