Approve Membership Request
Supported & TestedApprove one or more pending group membership requests.
POSThttps://api.waplix.io/api/v1/groups/membership-requests-approve
Authentication
Authorization: Bearer YOUR_API_KEY Parameters Specification
| Parameter | Type | Required | Description |
|---|---|---|---|
| instance_id | string | Required | Required Waplix instance id |
| group_id | string | Required | Required WhatsApp group id ending with @g.us |
| participants | array | Required | Required array of phone numbers or JIDs |
instance_id
stringReq Required Waplix instance id
group_id
stringReq Required WhatsApp group id ending with @g.us
participants
arrayReq Required array of phone numbers or JIDs
Usage Notes
A 409 result means WhatsApp did not apply the approval for that participant in the current state.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/groups/membership-requests-approve" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Success Response
Response · 200 OK
{
"success": true,
"data": {
"instance_id": "39058",
"group_id": "120363429508183753@g.us",
"participants": [
"923000935862@s.whatsapp.net"
],
"decision": "approve",
"results": [
{
"status": "409",
"jid": "142120618831980@lid"
}
]
}
} Was this page helpful?