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

# GET /contactAssignments

`GET /contactAssignments`

List the contactAssignments in the account.

## Query parameters

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

## Response `200`

Success

- ContactAssignmentList — Paged list of contactAssignment.
  - `count` integer — Total item count.
  - `nextLink` string — The Url of next result page.
  - `value` ContactAssignment[], required — Collection of items of type results.
    - `assignmentId` string, uuid — Gets or sets the id of the assignment.
    - `contactGroup` EntityReference — Entity reference type.
      - `referenceName` string — Gets or sets the reference name.
      - `type` 'Unknown' | 'CollectionReference' | 'ContactGroupDefinitionReference' | 'DatasourceReference' | 'ScanReference' | 'AdaptiveScopeReference' — Gets or sets the reference type property.
    - `principalId` string — Gets or sets the principal Id.
    - `scope` EntityReference — Entity reference type.
      - `referenceName` string — Gets or sets the reference name.
      - `type` 'Unknown' | 'CollectionReference' | 'ContactGroupDefinitionReference' | 'DatasourceReference' | 'ScanReference' | 'AdaptiveScopeReference' — Gets or sets the reference type property.
    - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
      - `createdAt` string, date-time — The timestamp of resource creation (UTC).
      - `createdBy` string — The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that created the resource.
      - `lastModifiedAt` string, date-time — The timestamp of the last modification the resource (UTC).
      - `lastModifiedBy` string — The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that last modified the resource.

## 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)
