v1
latestOpenAPI 3.0.02026-07-2411724301.7 KBGroups
Accept Join Requests
The Accept Join Requests API allows you to approve pending join requests for a specific WhatsApp group.
post/v2/{sid}/whatsapp/groups/{groupId}/join_requests
Path parameters
sidstring required
Account SID (Security Identifier).
groupIdstring required
Group ID of WhatsApp group in which join requests have to be accepted.
Request body
Example request
{
"messaging_product": "whatsapp"
}Response
Join requests accepted successfully
Example response
{
"code": "WA200",
"message": "Request Processed Successfully",
"data": {
"messaging_product": "whatsapp",
"join_requests": [
"joinRequest1",
"joinRequest2"
]
},
"error": {}
}