---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs"
tags: ["Hubs"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs`

Gets all the hubs in a resource group.

## Path parameters

- `resourceGroupName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. Successfully get all the hubs in the resource group.

- HubListResult — Response of list hub operation.
  - `value` Hub[] — Results of the list operation.
    - `id` string — Resource ID.
    - `name` string — Resource name.
    - `type` string — Resource type.
    - `location` string — Resource location.
    - `tags` object — Resource tags.
  - `nextLink` string — Link for next set of results.

---

[API](https://skmtc.net/azure/apis/customer-insights-microsoft-customerinsights-customerinsight.md) · [All operations](https://skmtc.net/azure/apis/customer-insights-microsoft-customerinsights-customerinsight/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/customer-insights-microsoft-customerinsights-customerinsight/revisions/637895ef89fb/schema)
