Skip to main content
POST
/
tables
/
{tableId}
/
rows
/
upsert
Add or update rows
curl --request POST \
  --url https://origami.chat/api/v2/tables/{tableId}/rows/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rows": [
    {}
  ],
  "matchColumns": [
    "<string>"
  ],
  "enrich": true,
  "reenrichUpdated": false,
  "batchId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tableId
string<uuid>
required

Body

application/json
rows
object[]
required
Required array length: 1 - 100 elements
matchColumns
string[]
required
Minimum array length: 1
enrich
boolean
default:true
reenrichUpdated
boolean
default:false
batchId
string<uuid>

Response

Idempotent replay of an existing batchId.