---
title: "Get List of Targeted Data Discovery Groups"
method: GET
path: "/api/datasubject/v2/datadiscovery/requestqueues/{requestQueueRefId}"
tags: ["Targeted Data Discovery"]
---

# Get List of Targeted Data Discovery Groups

`GET /api/datasubject/v2/datadiscovery/requestqueues/{requestQueueRefId}`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/datasubject/v2/datadiscovery/requestqueues/{requestQueueRefId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DSAR`, `DSAR_READ`, `DSAR_WRITE`

Use this API to retrieve a list of all Targeted Data Discovery groups for the specified request. The response will include details for each group along with the corresponding group ID, name, and order.

## Path parameters

- `requestQueueRefId` string, required: Request queue reference Id

## Response `200`

OK

- PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryGroupResultV2Dto[]
  - `groupName` string: Name of the group.
  - `groupOrder` integer: Order in which group has been created.
  - `groupId` string, uuid: Unique Identifier of the 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.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/revisions/612f0b39b904?raw)
