---
title: "Create Data Subject"
method: POST
path: "/api/inventory/v2/data-subjects"
tags: ["Personal Data"]
---

# Create Data Subject

`POST /api/inventory/v2/data-subjects`

Use this API to create new Data Subject in the Data Mapping Automation Module.

## Query parameters

- `generator` string

## Request body

- DataSubjectCreateUpdateRequest
  - `value` string, required — Name of the personal data entity
  - `description` string — Description of the personal data entity
  - `status` 'Active' | 'Inactive' | 'Draft' — Status of the personal data entity
  - `termId` string, uuid — ID of the associated term
  - `tagId` string, uuid — ID of the associated tag

## Response `201`

Created

- DataSubjectResponse
  - `id` string, uuid, required — Unique identifier of the entity
  - `name` string, required — Name of the entity
  - `nameKey` string, required — Translation key for the entity name
  - `description` string — Description of the entity
  - `descriptionKey` string — Translation key for the entity description
  - `source` 'SYSTEM' | 'USER' | 'IMPORTED' — Source of the data subject
  - `visible` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `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)
