> ## Documentation Index
> Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Group metadata by invite

> Returns group metadata through the invitation link

## Overview

This method returns the group metadata with all group information and its participants through the invitation link.

***

## Attributes

### Header

<ParamField path="instanceId" type="string" required>
  Your instance ID. Available in the Z-API panel under **Instances**.
</ParamField>

<ParamField path="token" type="string" required>
  Your Z-API instance token.
</ParamField>

### Query Parameters

<ParamField query="url" type="string" required>
  Group invitation link. E.g.: [https://chat.whatsapp.com/KNmcL17DqVA0sqkQ5LLA5](https://chat.whatsapp.com/KNmcL17DqVA0sqkQ5LLA5)
</ParamField>

***

## Response

### 200

```json theme={"theme":{"light":"github-light","dark":"poimandres"}}
{
  "phone": "120363019502650977-group",
  "owner": "5511888888888",
  "subject": "My group on Z-API",
  "description": "group description",
  "creation": 1588721491000,
  "invitationLink": "https://chat.whatsapp.com/KNmcL17DqVA0sqkQ5LLA5",
  "contactsCount": 1,
  "participantsCount": 1,
  "participants": [
    {
      "phone": "5511888888888",
      "isAdmin": false,
      "isSuperAdmin": true
    },
    {
      "phone": "5511777777777",
      "isAdmin": false,
      "isSuperAdmin": false
    }
  ],
  "subjectTime": 1617805323000,
  "subjectOwner": "5511888888888"
}
```

### 405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

### 415

If you receive a 415 error, make sure to add the "Content-Type" header to your request, which in most cases is "application/json".
