# chat.bsky.group.getGroupPublicInfo

> Published by [bsky-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:4v4y5r3lwsbtmsxhile2ljac)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.getGroupPublicInfo)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.getGroupPublicInfo/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.getGroupPublicInfo/examples)

## Definitions

### `chat.bsky.group.getGroupPublicInfo`

**Type**: `query`

[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about a group from an join link.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `code` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `ref` → `chat.bsky.group.defs#groupPublicView` | Yes |  |

#### Errors

- **InvalidCode**

## Raw Schema

```json
{
  "id": "chat.bsky.group.getGroupPublicInfo",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "InvalidCode"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "group"
          ],
          "properties": {
            "group": {
              "ref": "chat.bsky.group.defs#groupPublicView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          }
        }
      },
      "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about a group from an join link."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
