---
title: "Batch Action Pending Rows"
method: POST
path: "/api/bitables/{table_id}/pending-rows/batch-action"
tags: ["bitables"]
---

# Batch Action Pending Rows

`POST /api/bitables/{table_id}/pending-rows/batch-action`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/bitables/{table_id}/pending-rows/batch-action`
- Auth: HTTP bearer

Approve or reject a set of pending rows.

Approval promotes each to a `bitable_rows` insert (with auto-versioning
for versioned columns — same path as `insert_rows`). Rejection just
marks `rejected_at` — the pending row stays for audit.

## Path parameters

- `table_id` string, uuid, required

## Request body

- BatchAction: Batch approve or reject a set of pending rows. Scope options (pick one): - `batch_id`: all unresolved rows sharing this batch_id - `pending_row_ids`: specific ids - If neither: all unresolved rows on the table (nuclear option)
  - `action` 'approve' | 'reject', required
  - `batch_id` string, uuid, nullable
  - `pending_row_ids` string[], nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
