Overview
When group mute is enabled, add specified users to the group allowlist to let them continue sending messages.
Priority
If group mute, group member mute, and the group member allowlist are all enabled, the allowlist has the highest priority. Users on the allowlist can still send messages.
Request
Authentication Add authentication headers to the request. See Authentication
Method
POST
Rate limit
100 requests/second
Endpoint https://API domain/apigateway/groups/group memberallow/set
Content-Type
application/json
Request Parameters
| Parameter | Data Type | Required | Description | |
|---|---|---|---|---|
group_id | string | Yes | Group ID. Maximum length: 64 characters. | |
member_ids | array | Yes | IDs of group members to add to or remove from the allowlist. Each ID can contain up to 32 characters. | |
is_allow | int | Yes | 0 removes the users from the allowlist; 1 adds them to the allowlist. |
Request Example
POST /apigateway/groups/groupmemberallow/set HTTP/1.1
appkey: appkey
signature: 2e639ae3600a4sdff61fb88b76f485b
nonce: nonce
timestamp: 1672568121910
Content-Type: application/json
{
"group_id":"groupid1",
"member_ids":["member1","member2"]
"is_allow":1
}
Response Example
{
"code":0,
"msg":"sucess"
}