---
title: "Create Resolution"
method: POST
path: "/api/datasubject/v2/resolutions"
tags: ["Resolutions"]
---

# Create Resolution

`POST /api/datasubject/v2/resolutions`

## Request

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

Use this API to create a new resolution.

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationRequestResolutionV2Dto
  - `id` string, uuid: The unique identifier for the resolution code. This is automatically generated when a new resolution code is created, not required in resolution creation payload.
  - `close` boolean, required: Indicates whether this resolution code should be available as an option when closing a request. Set to true to make it available for closing requests.
  - `reject` boolean, required: Indicates whether this resolution code should be available as an option when rejecting a request. Set to true to make it available for rejecting requests.
  - `complete` boolean, required: Indicates whether this resolution code should be available as an option when completing a request. Set to true to make it available for completing requests.
  - `type` integer: Specifies the type of resolution code, which determines where it appears in the UI. By default, this is set to 10 for request-level resolutions. Use 20 for subtask resolutions.
  - `titleTranslations` object: A map of language codes to translated titles for this resolution code. English (en-us) translation is required. Each translation must be unique per language and type across all resolution codes.
  - `descriptionTranslations` object: A map of language codes to translated descriptions for this resolution code. The default English (en-us) translation must be present.

## Response `201`

Created

- PrivacyAutomationDataSubjectRequestDSRAutomationRequestResolutionV2Dto
  - `id` string, uuid: The unique identifier for the resolution code. This is automatically generated when a new resolution code is created, not required in resolution creation payload.
  - `close` boolean, required: Indicates whether this resolution code should be available as an option when closing a request. Set to true to make it available for closing requests.
  - `reject` boolean, required: Indicates whether this resolution code should be available as an option when rejecting a request. Set to true to make it available for rejecting requests.
  - `complete` boolean, required: Indicates whether this resolution code should be available as an option when completing a request. Set to true to make it available for completing requests.
  - `type` integer: Specifies the type of resolution code, which determines where it appears in the UI. By default, this is set to 10 for request-level resolutions. Use 20 for subtask resolutions.
  - `titleTranslations` object: A map of language codes to translated titles for this resolution code. English (en-us) translation is required. Each translation must be unique per language and type across all resolution codes.
  - `descriptionTranslations` object: A map of language codes to translated descriptions for this resolution code. The default English (en-us) translation must be present.

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