---
title: "GET /getScopedContactGroupNames"
method: GET
path: "/getScopedContactGroupNames"
tags: ["ContactAssignment"]
---

# GET /getScopedContactGroupNames

`GET /getScopedContactGroupNames`

Gets the distinct list of contact group names for the provided scope.

## Query parameters

- `scope` string
- `referenceType` 'Unknown' | 'CollectionReference' | 'ContactGroupDefinitionReference' | 'DatasourceReference' | 'ScanReference' | 'AdaptiveScopeReference'
- `api-version` string, required
- `$skipToken` string

## Response `200`

Success

- ContactGroupNameList — Paged list of contact group names.
  - `count` integer — Total item count.
  - `nextLink` string — The Url of next result page.
  - `value` string[], required — Collection of items of type results.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/versions/dc51c3b3ddf7/schema)
