---
title: "Create a new entity"
method: POST
path: "/entities"
tags: ["Entities"]
---

# Create a new entity

`POST /entities`

## Request body

- object
  - `name` string, required — Name of the entity to add. Should be unique.
  - `fields` object[], required
  - `endpointsGenerated` object
  - `virtual` boolean — Whether or not the entity is virtual. Default to false.

## Response `200`

Success

---

[API](https://skmtc.net/materiahq/apis/materia-server.md) · [All operations](https://skmtc.net/materiahq/apis/materia-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/materiahq/materia-server/versions/f4e80651bb93/schema)
