Tables

Insert table rows

Write up to 500 rows in one batch, keyed by field key. Values are coerced against the field kinds and the WHOLE batch is rejected if any cell cannot be read as its field's kind, so a partial batch never lands. A computed, system, relation or attachment key in the body is refused with FIELD_READ_ONLY rather than ignored. Rows whose identity matches a deleted row are skipped, never resurrected.

post/v1/tables/{tableId}/rows

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

tableId, string required

Table ID

Request body

object required
rows, object[] required
mode, 'upsert' | 'append' | 'insert'
anchor, object
mergeOn, string[]
onMany, 'fail' | 'first'
typecast, boolean

Response

Batch written

object required
success, true required
inserted, integer required
updated, integer required
skippedTombstoned, integer required
placement, 'positioned' | 'appended'
insertedRowIds, string[] required
updatedRowIds, string[] required

Changes

No recorded changes to this operation across all 6 revisions of this API.