[Goto Home](/docs/index.html)

# 🌍 GET `/sub-communities/:communityId`

## Description

- Returns the list of community sub-communities as per pagination

## Request Query

- **limit** - default `10`, set the number of items to return on each page
- **page** - default `1`, set the page for which to return the items
- **search** - return sub-communities with matching course name

## Response Body

```json
{
  "subCommunities": [
    {
      "_id": "696dd11442bf41645f3cf380",
      "community": "6940fb887695b40bdcd6043f",
      "name": "1.00 Engineering Computation and Data Science",
      "isCourse": true
    },
    {
      "_id": "696dd11442bf41645f3cf381",
      "community": "6940fb887695b40bdcd6043f",
      "name": "1.000 Introduction to Computer Programming and Numerical Methods for Engineering Applications",
      "isCourse": true
    },
    {
      "_id": "696dd11442bf41645f3cf382",
      "community": "6940fb887695b40bdcd6043f",
      "name": "1.001 Engineering Computation and Data Science",
      "isCourse": true
    },
    {
      "_id": "696dd11442bf41645f3cf383",
      "community": "6940fb887695b40bdcd6043f",
      "name": "1.004 Startup Sustainable Tech",
      "isCourse": true
    },
    {
      "_id": "696dd11442bf41645f3cf384",
      "community": "6940fb887695b40bdcd6043f",
      "name": "1.005 Experiential Sustainability",
      "isCourse": true
    }
  ],
  "count": 5662
}
```

# Links

[Goto Home](/docs/index.html)