Insert/upsert rows
Inserts rows into a table, optionally updating existing rows if any upsert key columns are provided. This endpoint will always return a 202, so long as the doc and table exist and are accessible (and the update is structurally valid). Row inserts/upserts are generally processed within several seconds. Note: this endpoint only works for base tables, not views. When upserting, if multiple rows match the specified key column(s), they will all be updated with the specified value.
Path parameters
ID of the doc.
ID or name of the table. Names are discouraged because they're easily prone to being changed by users. If you're using a name, be sure to URI-encode it.
Query parameters
If true, the API will not attempt to parse the data in any way.
Request body
Example request
{
"rows": [
{
"cells": [
{
"column": "c-tuVwxYz",
"value": "$12.34"
}
]
}
],
"keyColumns": [
"c-bCdeFgh"
]
}Response
A result indicating that the upsert was queued for processing.
Example response
{
"requestId": "abc-123-def-456",
"addedRowIds": [
"i-bCdeFgh",
"i-CdEfgHi"
]
}