Create entity records
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Adds several records to one of the app's entities in one call, and returns them in the order you sent them.
Send a JSON array of records, each written the same way as the body of Create entity record. Only the fields the entity's schema declares are stored, so a misspelled name is left out of the record instead of failing the call. Base44 always assigns id, created_date, updated_date, created_by, and created_by_id automatically, and ignores any of them you send. An empty array creates nothing and returns an empty array.
Every record is checked before any is written. If one record doesn't match the entity's schema, or the entity's rls create rule or a field-level rule doesn't cover it, the call is rejected and no records are created.
There's no fixed limit on how many records one call creates, but the whole array is written before the response comes back, so split a very large import into several calls.
Each record is new, so retrying a call that already succeeded creates every record again. If a call fails while it's writing, some of the records can already be stored, so check with List entity records before you retry.
Unlike Create entity record, this doesn't trigger the app's webhooks, automations, or workflows.
<Note>This endpoint accepts a personal API key belonging to a user with access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>
Path parameters
ID of the app that owns the entity.
ID of the app that owns the entity.
Name of the entity, exactly as List entity schemas reports it. Don't pass User here. It doesn't fail, but it reads and writes a separate, disconnected set of records stored under that name, not the app's real user accounts, which are managed through their own endpoints.
Name of the entity, exactly as List entity schemas reports it. Don't pass User here. It doesn't fail, but it reads and writes a separate, disconnected set of records stored under that name, not the app's real user accounts, which are managed through their own endpoints.
Request body
The records to create, each a flat JSON object of the fields the entity's schema declares.
Response
The created records.
Example response
[
{
"id": "6886b8d390dc7e2f4a2c91b3",
"created_date": "2026-06-01T09:23:41.481000",
"updated_date": "2026-06-04T14:07:02.115000",
"created_by": "jane@acme.com",
"created_by_id": "6874b0c2e1a94d0031bb77de"
}
]Changes
Changed in 1 of the 33 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○