Skip to main content
POST
Create a record

Authorizations

Authorization
string
header
required

Project API key, for server-to-server access to one project.

Path Parameters

project
string
required

The project's slug or id (ULID).

entity
string
required

The entity slug

Body

application/json
data
object
required

Field values keyed by the entity's declared field keys. Unknown keys are dropped; values are validated against each field's type and constraints.

Response

data
EntityRecord · object
required

One record. Besides the system fields, it carries the entity's declared fields by key, typed per the entity schema. A reference field holds the id of a record of the referenced entity, in the same environment; the reference is checked when written, and is not cleared if the referenced record is later deleted — resolve it with a read and treat a 404 as "no longer exists".