group
get group membership requests
Get pending group membership requests
post/instances/{id}/client/action/get-group-member-requests
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/get-group-member-requests
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"chatId": "<xxxxx>@g.us"
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation.
Example response
{
"data": {
"status": "success",
"data": {
"membershipRequests": [
{
"id": {
"server": "@c.us",
"user": "<xxxxxxx>",
"_serialized": "<xxxxxxx>@c.us"
},
"addedBy": {
"server": "@c.us",
"user": "<xxxxxxx>",
"_serialized": "<xxxxxxx>@c.us"
},
"parentGroupId": {
"server": "@g.us",
"user": "<xxxxxxx>",
"_serialized": "<xxxxxxx>@g.us"
},
"requestMethod": "InviteLink",
"t": 1234567890
}
],
"count": 5
}
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/get-group-member-requests"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.