Insert a new record into a database table
users
, products
, or orders
.documentId
field in each object to specify your own unique identifier for the record. If not provided, the system will generate one automatically.true
if the insert was successful, false
otherwise.documentId
(if you didn’t specify one) and all the data you provided in the request.Error | Cause | Solution |
---|---|---|
”Table not found” | The specified table doesn’t exist | Check your table name for typos |
”Duplicate documentId” | The documentId you provided already exists | Use a different documentId or let the system generate one |
”Missing required field” | You didn’t provide a required parameter | Make sure you include table and data fields |
”Unauthorized” | Invalid or missing API key | Check that you’re using a valid API key |
documentId
documentId
documentId
is used as the primary key for all operations (update, delete, query)