Accept Group Invite
This endpoint allows a user to accept a group invite
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Required. The phone that joins the group — this WhatsApp action is performed by this phone. Use country code + number format with no spaces or special characters (e.g. 919876543210), or the phone_id (phone-xxxxxxxxxxxx). This header is mandatory for this endpoint: the request is rejected with Missing Header: {x-phone} if it is not provided. Passing a phone that is outside your token's scope returns a 401.
"{{orgPhone}}"
Body
- Provide the invite code to accept the group invite
"EUKdz8Sdy9T2UWPnOKGkxx"
Response
200 OK
The response is a chat object. Refer to the chat object here