Creates a new row in the table if the user has access to the related table's workspace. The accepted body fields are depending on the fields that the table has. For a complete overview of fields use the list_database_table_fields to list them all. None of the fields are required, if they are not provided the value is going to be null or false or some default value is that is set. If you want to add a value for the field with for example id 10, the key must be named field_10. Or instead if the user_field_names GET param is provided the key must be the name of the field. Of course multiple fields can be provided in one request. In the examples below you will find all the different field types, the numbers/ids in the example are just there for example purposes, the field_ID must be replaced with the actual id of the field or the name of the field if user_field_names is provided.
Path parameters
Creates a row in the table related to the provided value.
Query parameters
If provided then the newly created row will be positioned before the row with the provided id.
A flag query parameter that triggers webhooks after the operation, if set to y, yes, true, t, on, 1, or left empty. Defaults to true
A flag query parameter that, if provided with one of the following values: y, yes, true, t, on, 1, or an empty value, will cause this endpoint to expect and return the user-specified field names instead of the internal Baserow field names (e.g., field_123).
Provide if the row is created in a view. This can result in different permission checking and default values.
Headers
An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.
An optional header that marks the action performed by this request as having occurred in a particular action group.Then calling the undo/redo endpoint with the same ClientSessionId header, all the actions belonging to the same action group can be undone/redone together in a single API call.
Request body
Response
Changes
Changed in 1 of the 6 revisions of this API.134
- ▲
the
field_28response property's maxLength was unset from1000000for the response status200response-property-max-length-unset
- ●
removed the request property
field_28(media type: application/json)request-property-removed
- ●
removed the request property
field_28(media type: application/x-www-form-urlencoded)request-property-removed
- ●
removed the request property
field_28(media type: multipart/form-data)request-property-removed
- ○
added the new optional request property
field_29(media type: application/json)new-optional-request-property
- ○
added the new optional request property
field_29(media type: application/x-www-form-urlencoded)new-optional-request-property
- ○
added the new optional request property
field_29(media type: multipart/form-data)new-optional-request-property
- ○
added the optional property
field_29to the response with the200statusresponse-optional-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲