---
title: "Get List of Subtasks"
method: GET
path: "/api/datasubject/v2/subtasks"
tags: ["Subtasks"]
---

# Get List of Subtasks

`GET /api/datasubject/v2/subtasks`

> ❗️ End of Support Notification
>
> As of January 1, 2026, this API is now deprecated. Any customers leveraging this API are encouraged to use the [Get List of Subtasks by Criteria API](https://developer.onetrust.com/onetrust/reference/getallsubtasksv3usingpost). For more information, see [OneTrust API Sunsetting & Deprecation Guidelines](https://developer.onetrust.com/onetrust/reference/onetrust-api-sunsetting-deprecation-guidelines).

Use this API to retrieve a list of all subtasks. The response will include details for each subtask along with the request approver, created date, and deadline.

> 🗒 Things to Know
> 
> - This API does not return subtasks in **Complete** status.

## Query parameters

- `language` string — A language code that identifies the language in which the Request Type and Subject Type values should be returned, assuming translations are available for that language. Examples: language=en-us for English, language=de for German, language=es for Spanish, etc.
- `modifieddate` string, date — A date (yyyyMMdd). Include to retrieve a list of subtasks modified on or after the specified date. For example, if you want to retrieve subtasks modified on or after January 30, 2019, include the modifieddate=20190130 parameter in your query.
- `status` string — To get a SubTasks according to Status. Examples: status=assigned
- `openrequests` boolean — An optional parameter to show subtasks on open requests if set to true.if this parameter is set to false or omitted, the response will contain subtasks on all requests Examples: openrequests=true
- `page` integer — Results page you want to retrieve. Page number starts with 0 (0..N)
- `size` integer — Number of records per page. Maximum page size allowed is 500
- `sort` 'taskName,asc' | 'taskName,desc' | 'createdDate,asc' | 'createdDate,desc' | 'lastModifiedDate,asc' | 'lastModifiedDate,desc' — Sorting criteria in the format: property(,asc|desc). Default sort order is ascending.

## Response `200`

OK

- PrivacyAutomationDataSubjectRequestDSRAutomationSubTaskListV2Dto[]
  - `requestApprover` string — Approver of the parent request
  - `requestQueueRefId` string — The request reference ID
  - `requestOrgName` string — Organization name of the request
  - `subTaskStatus` string — Current status of the subtask
  - `subTaskType` string — Type of the subtask
  - `subTaskName` string — Name of the subtask
  - `subTaskDescription` string — Description of the subtask
  - `subTaskAssignee` string — Person assigned to the subtask
  - `subTaskRequired` boolean — Whether the subtask is required
  - `requestQueueDateCreated` string, date-time — Date when the parent request was created
  - `requestQueueDeadline` string, date-time — Deadline for the parent request
  - `subTaskCreatedDate` string, date-time — Date when the subtask was created
  - `subTaskLastUpdatedDate` string, date-time — Date when the subtask was last updated
  - `subTaskReminderDate` string, date-time — Reminder date for the subtask
  - `subTaskDeadline` string, date-time — Deadline for the subtask
  - `requestTypes` string[] — Types of the parent request
  - `subjectTypes` string[] — Subject types of the parent request
  - `subTaskResolution` string — Resolution code for the subtask if completed or rejected
  - `requestQueueId` string, uuid
  - `assignedToGroup` boolean
  - `subTaskId` string, uuid

## 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/revisions/21de3aa0b170/schema)
