---
title: "Changes to Create new document"
method: POST
path: "/api/dataentities/{dataEntityName}/documents"
---

# Changes to Create new document

`POST /api/dataentities/{dataEntityName}/documents`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 62 revisions.

- **2026-01-26** `c22f3bc5df7b`: 1 breaking, 2 info
- **2023-10-19** `d9626a7ffe42`: 1 info

## Changes

- **2026-01-26** `c22f3bc5df7b`: 1 breaking, 2 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
  - added the success response with the status `202`
- **2023-10-19** `d9626a7ffe42`: 1 info
  - added the required property `DocumentId` to the response with the `200` status

---

[Operation](https://skmtc.dev/vtex/apis/master-data-api-v2/docs/api/dataentities/:dataEntityName/documents/post.md) - [API](https://skmtc.dev/vtex/apis/master-data-api-v2.md) - [Page](https://skmtc.dev/vtex/apis/master-data-api-v2/changes/api/dataentities/:dataEntityName/documents/post)
