Queries interactive messaging groups by page.
Operation description
Before you call this operation, make sure that you have called the CreateLiveMessageGroup operation to create an interactive messaging group.
QPS limit
You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AppId | string | Yes | The ID of the interactive messaging application. | demo |
SortType | integer | Yes | The sort order based on the time when the groups were created. Valid values:
| 1 |
PageSize | integer | No | The number of entries per page. Valid values:[1,50]. Default value: 20. | 20 |
PageNumber | integer | No | The page number. Valid values: [1,10000]. Default value: 1. | 1 |
GroupStatus | integer | No | The status of the groups to query. Default value: 0. Valid values:
| 1 |
DataCenter | string | No | The data center. It must be the same as the data center that was specified when you called the CreateLiveMessageApp operation to create the interactive messaging application. Valid values: cn-shanghai and ap-southeast-1 (Singapore). | cn-shanghai |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "B5D95365-5A46-1A6A-BBF5-C7B6BDED****",
"TotalCount": 50,
"PageNumber": 1,
"PageSize": 20,
"GroupList": [
{
"GroupId": "cU9MeBqf****",
"CreatorId": "user_77",
"AdminList": [
"uid1"
],
"Createtime": 1698299727,
"GroupName": "mytestgroup",
"GroupInfo": "testgroupinfo",
"Delete": true
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InputInvalid | %s. | Illegal input parameters |
403 | NoAuth | %s. | No permission |
404 | ResourceNotExist | %s. | The requested resource does not exist, please check and try again |
500 | ServerError | %s. | Unknown error, please try again later or submit a ticket for consultation. |
For a list of error codes, visit the Service error codes.