---
title: "Create entity dynamic mapping"
method: POST
path: "/api/v1/entity_dynamic_mappings"
tags: ["Entity dynamic mapping"]
---

# Create entity dynamic mapping

`POST /api/v1/entity_dynamic_mappings`

Creates a new entity dynamic mapping used by the generic inbound webhook endpoint

## Request body

- EntityDynamicMappingCreateDtoIn
  - `identifier` string, required
  - `entity_template_identifier` string, required
  - `filter` string, required
  - `action` 'UPDATE_ENTITY' | 'UPDATE_PROPERTIES' | 'UPDATE_RELATIONS' | 'DELETE_ENTITY', required
  - `name` string, required
  - `description` string
  - `entity` EntityMappingDtoIn, required
    - `identifier` string, required
    - `name` string, required
    - `properties` object
    - `relations` EntityDynamicMappingRelationDtoIn[]
      - `name` string, required
      - `target_entity_identifiers` string[], required

## Response `201`

Entity dynamic mapping created

## Other responses

- `400` — Invalid entity dynamic mapping data provided
- `409` — Identifier already exists

## Changes

- **2026-08-26** `e6f6d45eade3` — 3 breaking, 3 info
  - added the new required request property `action`
  - the request property `filter` became required
  - the `filter` request property's minLength was increased from `0` to `1`
  - added the optional property `action` to the response with the `201` status
  - …2 more
- **2026-08-06** `7e634c43bc1b` — 4 info
  - the request property `entity/properties` became optional
  - the request property `entity/relations` became optional
  - the request property `filter` became optional
  - the `filter` request property's minLength was decreased from `1` to `0`
- **2026-08-05** `00ae15bb3a81` — 4 breaking
  - the `entity/relations` request property type/format changed from `object`/`` to `array`/``
  - the `entity/relations` response's property type/format changed from `object`/`` to `array`/`` for status `201`
  - the `entity/relations` response's property type/format changed from `object`/`` to `array`/`` for status `400`
  - the `entity/relations` response's property type/format changed from `object`/`` to `array`/`` for status `409`
- **2026-07-16** `584ac64069cc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/decathlon/apis/idp-core-api/changes/api/v1/entity_dynamic_mappings/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)
