Tables
Upsert Row
Insert a new row or update an existing one based on a unique column value. The table must have at least one column with a unique constraint. If a row with a matching unique value exists, it is updated; otherwise, a new row is inserted. When multiple unique columns exist, specify conflictTarget to indicate which column to match on.
post/api/v1/tables/{tableId}/rows/upsert
Path parameters
tableIdstring required
Example:tbl_92e4c6a8b0d24f1e8a3c5d7b9f0e2a14
The unique identifier of the table.
Request body
Response
Row upserted successfully.
Example response
{
"data": {
"row": {
"id": "row_6b8d0f2a4c3e4e5da28f7c9b1d3f5a07"
}
}
}