Replies: 1 comment
|
Hi @nirizr — thanks for the clear question, and you read the docs correctly: at the time you asked, OpenWA had neither the event nor the endpoints. Both exist now, on The event — subscribe to {
"event": "group.join_request",
"timestamp": "2026-08-09T09:00:00.000Z",
"sessionId": "…",
"idempotencyKey": "…",
"deliveryId": "…",
"data": {
"groupId": "120363000000000000@g.us",
"participantIds": ["628123456789@c.us"],
"timestamp": 1754700000,
"actorId": "628987654321@c.us"
}
}That One engine caveat, documented rather than papered over: on the Baileys engine the library (7.0.0-rc13) emits its join-request event only for non-admin-add requests, so an invite-link self-request may not produce an event there. The list endpoint below still reports those requests either way, so polling it covers the gap if you run Baileys. The API — three routes under the session's group resource:
Both writes take Full reference on |
Uh oh!
There was an error while loading. Please reload this page.
Hey!
I'm moving from raw whatsapp web js to OpenWA and I'm porting my APIs clients.
In wweb JS there's a
group_membership_requesthook event that lets an account know when a request to join a group is added.Is there something similar in OpenWA? I tried searching online and reading the documentation but couldn't find anything.
Also, after that I would like to approve or reject join requests through the API and I couldn't find that either.
All reactions