---
title: "Get Data Subject Group"
method: GET
path: "/api/consentmanager/v2/linkedidentitygroups/{linkedIdentityGroupId}"
tags: ["Data Subject Groups"]
---

# Get Data Subject Group

`GET /api/consentmanager/v2/linkedidentitygroups/{linkedIdentityGroupId}`

Use this API to retrieve a single Data Subject Group by its unique identifier along with details such as the Data Subject Group ID and the list of data subjects within its group.

## Path parameters

- `linkedIdentityGroupId` string, uuid, required

## Query parameters

- `displayOrganizations` boolean

## Response `200`

OK - Successfully retrieved Data Subject Group.

- ConsentPreferencesUniversalConsentPreferenceManagLinkedIdentityGroupDtoDetailed
  - `id` string, uuid — Globally unique identifier of a Linked Identity Group
  - `createdDate` string, date-time — Creation date of a Linked Identity Group
  - `primaryDataSubject` ConsentPreferencesUniversalConsentPreferenceManagDataSubjectEntryDetailed
    - `id` string, uuid — Unique identifier of the Data Subject
    - `identifier` string, required — The identifier value of the Data Subject
    - `identifierType` string, required — The type of identifier used for the Data Subject (e.g., Email, Phone, CustomID)
    - `isPrimary` boolean — Boolean flag that denotes if the Data Subject is the primary of the group
    - `canBePrimary` boolean — Boolean flag that denotes if the Data Subject is allowed to be the group primary
    - `addedDate` string, date-time — The date that the Data Subject was added to the group
    - `numberOfLinkedGroups` integer — The number of Other Linked Groups the Data Subject is a member of
    - `magicLinkToken` string — Authentication token used for magic link functionality
    - `magicLinkTokenEncoded` string — URL-encoded version of the magic link token for direct use in URLs
    - `organizations` string[] — Set of organization UUIDs associated with this Data Subject
  - `primaryDataSubjects` ConsentPreferencesUniversalConsentPreferenceManagDataSubjectEntryDetailed[] — List of primary Data Subjects in the Linked Identity Group
    - `id` string, uuid — Unique identifier of the Data Subject
    - `identifier` string, required — The identifier value of the Data Subject
    - `identifierType` string, required — The type of identifier used for the Data Subject (e.g., Email, Phone, CustomID)
    - `isPrimary` boolean — Boolean flag that denotes if the Data Subject is the primary of the group
    - `canBePrimary` boolean — Boolean flag that denotes if the Data Subject is allowed to be the group primary
    - `addedDate` string, date-time — The date that the Data Subject was added to the group
    - `numberOfLinkedGroups` integer — The number of Other Linked Groups the Data Subject is a member of
    - `magicLinkToken` string — Authentication token used for magic link functionality
    - `magicLinkTokenEncoded` string — URL-encoded version of the magic link token for direct use in URLs
    - `organizations` string[] — Set of organization UUIDs associated with this Data Subject
  - `dataSubjects` ConsentPreferencesUniversalConsentPreferenceManagDataSubjectEntryDetailed[] — A list of all the linked Data Subjects in the group
    - `id` string, uuid — Unique identifier of the Data Subject
    - `identifier` string, required — The identifier value of the Data Subject
    - `identifierType` string, required — The type of identifier used for the Data Subject (e.g., Email, Phone, CustomID)
    - `isPrimary` boolean — Boolean flag that denotes if the Data Subject is the primary of the group
    - `canBePrimary` boolean — Boolean flag that denotes if the Data Subject is allowed to be the group primary
    - `addedDate` string, date-time — The date that the Data Subject was added to the group
    - `numberOfLinkedGroups` integer — The number of Other Linked Groups the Data Subject is a member of
    - `magicLinkToken` string — Authentication token used for magic link functionality
    - `magicLinkTokenEncoded` string — URL-encoded version of the magic link token for direct use in URLs
    - `organizations` string[] — Set of organization UUIDs associated with this Data Subject
  - `groupName` string — The name of the linked identity group

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
