---
title: "Get Share Group"
method: GET
path: "/kafka/v3/clusters/{cluster_id}/share-groups/{group_id}"
tags: ["Share Group (v3)"]
---

# Get Share Group

`GET /kafka/v3/clusters/{cluster_id}/share-groups/{group_id}`

## Request

- Base URL: `https://pkc-00000.region.provider.confluent.cloud`
- URL: `https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/{cluster_id}/share-groups/{group_id}`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.confluent.cloud/sts/v1/oauth2/token`

[![Generally Available](https://img.shields.io/badge/Lifecycle%20Stage-Generally%20Available-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)
Return the share group specified by the ``group_id``.

## Response `200`

The share group.

- ShareGroupData
  - `kind` string, required
  - `metadata` ResourceMetadata, required
    - `self` string, required
    - `resource_name` string, nullable
  - `cluster_id` string, required
  - `share_group_id` string, required
  - `state` string, required
  - `coordinator` Relationship, required
    - `related` string, required
  - `consumers` Relationship, required
    - `related` string, required
  - `consumer_count` integer, required: Number of consumers in this share group
  - `partition_count` integer, required: Total number of partitions assigned to this share group across all consumers
  - `assigned_topic_partitions` ShareGroupTopicPartitionData[]: List of topic-partitions assigned to this share group, including those from empty groups
    - `kind` string, required
    - `metadata` ResourceMetadata, required
      - `self` string, required
      - `resource_name` string, nullable
    - `topic_name` string, required: The name of the topic
    - `partition_id` integer, required: The partition ID
    - `partition` Relationship, required
      - `related` string, required

## Other responses

- `400`: Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure.
- `401`: Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
- `403`: Indicates a client authorization error. Kafka authorization failures will contain error code 40301 in the response body.
- `429`: Indicates that a rate limit threshold has been reached, and the client should retry again later.
- `5XX`: A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) - [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/confluent/apis/confluent-cloud-apis/revisions/018ddeaf203e?raw)
