---
title: "Accept group invite"
method: PUT
path: "/groups"
tags: ["Groups"]
---

# Accept group invite

`PUT /groups`

Allows you to join a group by knowing its invitation code

## Request body

- GroupInvite
  - `invite_code` string, required

## Response `200`

- NewGroup
  - `group_id` string, required — Group ID

## Other responses

- `400` — Wrong request parameters
- `401` — Need channel authorization for accept invite link
- `404` — Wrong invite code
- `500` — Internal Error

---

[API](https://skmtc.net/whapi/apis/whatsapp-api.md) · [All operations](https://skmtc.net/whapi/apis/whatsapp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whapi/whatsapp-api/versions/40ab05abffdb/schema)
