---
title: "Get group info by invite code"
method: GET
path: "/groups/link/{InviteCode}"
tags: ["Groups"]
---

# Get group info by invite code

`GET /groups/link/{InviteCode}`

## Path parameters

- `InviteCode` string, required — Invite code

## Response `200`

Group Info

- GroupInfoByInviteCode
  - `id` string — Chat ID
  - `name_at` integer — Group name change timestamp
  - `name` string — Group name
  - `participants` Participant[] — Group participants
    - `id` string, required — Contact ID
    - `rank` 'admin' | 'member' | 'creator', required — Participant rank
  - `participantsCount` number — Group participants count
  - `created_at` integer — Group creation timestamp
  - `created_by` string — Contact ID
  - `ephemeral` number — Group ephemeral timer

## Other responses

- `400` — Wrong request parameters
- `401` — Need channel authorization for this action
- `404` — Specified group not found
- `429` — Too many requests
- `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/revisions/40ab05abffdb/schema)
