---
title: "Fetch Group Invite Code"
method: GET
path: "/group/inviteCode/{instance}"
tags: ["Group Controller"]
---

# Fetch Group Invite Code

`GET /group/inviteCode/{instance}`

Fetch group invite code

## Path parameters

- `instance` string, required

## Query parameters

- `groupJid` string, required

## Response `200`

Ok

- object
  - `inviteUrl` string — The URL for the WhatsApp group invite.
  - `inviteCode` string — The code for the WhatsApp group invite.

## Changes

- **2024-10-14** (v2) `c153448703e5` — 1 breaking, 4 info
  - the `query` request parameter `groupJid` became required
  - api operation id `fetchInviteCode` was added
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - api tag `Group Controller` added
  - …1 more
- **2024-09-09** (v2) `0c4620ca5ed5` — 5 info
  - api operation id `fetchInviteCode` removed and replaced with ``
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `Group` added
  - api tag `Group Controller` removed
  - …1 more

[Change history](https://skmtc.dev/evolution-foundation/apis/openapi/changes/group/inviteCode/:instance/get.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/openapi.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/openapi/revisions/153363ee7f38/schema)
