Skip to main content
Insert Row
Inserts one row and returns it.
Row endpoints capture the caller’s identity but enforce no authorization — any caller who can reach your project can write these rows. See Security: open row CRUD.
tableName is the logical name — pass orders, not custom_orders.

Path Parameters

string
required
Logical name of the custom table.

Body

The body is a free-form column map — one key per column you are setting. At least one key is required.
A column named projectId is writable here like any other column: the body is your column map, so projectId in it is not refused. Outside the custom-table row bodies (Insert Row, Bulk Insert Rows and Update Row), projectId anywhere but the URL path is 400 project/wrong-location, and that includes a top-level ?projectId= on this route.
Managed columns are rejected, unknown columns are ignored. Writing id, createdAt, updatedAt or deletedAt fails with database/managed-column. A key that matches no column on the table is silently dropped — so a typo in a column name does not error, it simply does not persist. If every key is dropped, the request fails with database/no-writable-columns.

Response

Returns 201 Created. The body is the inserted row itself, a column map including its generated managed columns.

Error Responses

Returned when the body is empty or not an object.
Every key in the body matched no column on the table.
A value references a row that does not exist.