Skip to main content
POST
/
tables
/
{table_id}
/
rows
Insert Row
curl --request POST \
  --url https://api.example.com/tables/{table_id}/rows \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "data": {},
  "upsert": false,
  "natural_keys": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

table_id
string<uuid4>
required

Query Parameters

workspace_id
string<uuid>
required

Body

application/json

Insert model for a table row.

data
Data · object
required
upsert
boolean
default:false
natural_keys
string[]

The columns of the table to use for upsert

Response

Successful Response