---
title: "Create Request"
method: POST
path: "/api/datasubject/v2/requestqueues"
tags: ["Request Queues"]
deprecated: true
---

# Create Request

`POST /api/datasubject/v2/requestqueues`

> **Deprecated.**

> ❗️ End of Support Notification
>
> As of March 3, 2022, this API is now deprecated. Any customers leveraging this API are encouraged to migrate to the [Create Request API](https://developer.onetrust.com/onetrust/reference/createrequestqueuev2usingpost). For more information, see [OneTrust API Sunsetting & Deprecation Guidelines](https://developer.onetrust.com/onetrust/reference/onetrust-api-sunsetting-deprecation-guidelines).

Use this API to create a request for a given hosted web form. The webform must already be created.

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationDSARRequestDto
  - `templateId` string, uuid
  - `firstName` string — First name of the respondent.
  - `lastName` string — Last name of the respondent.
  - `email` string — Email address of the respondent.
  - `language` string — The ISO language code for OneTrust supported languages. Examples: en-us for English, de for German, fr for French, etc.
  - `additionalData` object — Additional fields in key value format, required for request processing. These could be webform or non webform fields
  - `requestTypes` object[] — Respondents privacy request type. This should match with the webform subject type key, key values are part for webform submission payload.
  - `subjectTypes` object[] — Respondents subject type or relation ship with tenant. This should match with the webform subject type key, key values are part for webform submission payload.
  - `attachments` PrivacyAutomationDataSubjectRequestDSRAutomationUploadDataDto[]
    - `refId` string, uuid
    - `filename` string
    - `fileSize` integer
    - `contentType` string
    - `qualifiedName` string
  - `attachmentResponses` PrivacyAutomationDataSubjectRequestDSRAutomationAttachmentResponse[]
    - `Id` string, uuid
    - `Name` string
    - `FileName` string
    - `FileSize` integer
    - `CreatedById` string, uuid
    - `CreatedBy` string
    - `Type` integer
    - `RefId` string, uuid
    - `IsInternal` boolean
    - `Location` string
  - `requestTraceId` string, uuid — Unique trace id for request. This can be used to avoid creating duplicate request.
  - `multiselectFields` object

## Response `200`

OK

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