---
title: "Create a new entity"
method: POST
path: "/api/v1/entities/{templateIdentifier}"
tags: ["Entities Management"]
---

# Create a new entity

`POST /api/v1/entities/{templateIdentifier}`

Create a new entity in the system with the provided information

## Path parameters

- `templateIdentifier` string, required

## Request body

- EntityCreateDtoIn — Input DTO for creating an entity
  - `identifier` string, required — Unique identifier of the entity within the template scope
  - `name` string, required — Name of the entity
  - `properties` object — Map of property name to value for this entity
  - `relations` RelationDtoIn[] — List of relations for this entity
    - `name` string, required — Name of the relation (must match a template relation definition)
    - `target_entity_identifiers` string[], required — List of target entity identifiers for this relation

## Response `201`

Entity created successfully

## Other responses

- `400` — Invalid entity data provided
- `401` — Unauthorized - Missing or invalid token
- `403` — Insufficient rights
- `404` — Template not found with the provided identifier
- `409` — Entity already exists in this template
- `500` — Unexpected server-side failure

## Changes

- **2026-08-26** `e6f6d45eade3` — 4 warning, 4 info
  - removed the optional property `errorDescription` from the response with the `400` status
  - removed the optional property `errorDescription` from the response with the `404` status
  - removed the optional property `errorDescription` from the response with the `409` status
  - removed the optional property `errorDescription` from the response with the `500` status
  - …4 more
- **2026-08-06** `7e634c43bc1b` — 1 warning, 1 info
  - removed the optional property `relations_as_target` from the response with the `201` status
  - added the optional property `relations/additionalProperties/items/template_identifier` to the response with the `201` status
- **2026-05-22** `a4579fa249ab` — 1 info
  - endpoint added
- **2026-04-08** `88fc145b6397` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/decathlon/apis/idp-core-api/changes/api/v1/entities/:templateIdentifier/post.md)

---

[API](https://skmtc.dev/decathlon/apis/idp-core-api.md) · [All operations](https://skmtc.dev/decathlon/apis/idp-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decathlon/idp-core-api/revisions/5081d87614ba/schema)
