v1
latestOpenAPI 3.0.32026-07-26870417.2 KBchats
group
Accept Group Invite
This endpoint allows a user to accept a group invite
post/chats/accept-invite
Headers
x-phonestring required
Example:{{orgPhone}}
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.
Request body
Example request
{
"invite_code": "EUKdz8Sdy9T2UWPnOKGkxx"
}Response
200 OK
object required
The response is a chat object. Refer to the chat object here