---
title: "Get community subgroups"
method: GET
path: "/communities/{CommunityID}/subgroups"
tags: ["Communities"]
---

# Get community subgroups

`GET /communities/{CommunityID}/subgroups`

This method is responsible for get a community subgroups. [Learn more about the nuances of community:](https://support.whapi.cloud/help-desk/communities/introduction)

## Path parameters

- `CommunityID` string, required — Group ID

## Response `200`

OK

- CommunitySubGroups
  - `announceGroupInfo` object, required
    - `title` string
    - `creationTime` string
    - `id` string
    - `inviteCode` string
  - `otherGroups` object[], required
    - `title` string
    - `id` string
    - `inviteCode` string
    - `creationTime` string
    - `properties` object
      - `general_chat` boolean

## Other responses

- `400` — Wrong request parameters
- `401` — Need channel authorization to get info
- `404` — Community not found
- `500` — Internal Error

---

[API](https://skmtc.dev/whapi/apis/whatsapp-api.md) · [All operations](https://skmtc.dev/whapi/apis/whatsapp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/whapi/whatsapp-api/revisions/40ab05abffdb/schema)
