Skip to main content

Bank Sync Inbox Bulk Review

POST /v1/workspaces/{workspaceID}/bank-sync/inbox/bulk-review (bulk-review-bank-sync-inbox) resolves up to 200 downloaded transactions in one request. Each item names a downloaded transaction and the resolution to apply to it, in the same shape as the single POST .../bank-sync/inbox/{importedTransactionID}/resolve endpoint (resolve-bank-sync-import): a transaction (with categoryId, payeeId, memo, tagIds or splits), a transfer, a payment, a match or a reject. It is what the app sends when several selected rows are accepted or rejected together, so they leave the Inbox in one step.

{
"items": [
{ "importedTransactionId": "bsi_1", "resolution": { "type": "transaction", "categoryId": "cat_groceries" } },
{ "importedTransactionId": "bsi_2", "resolution": { "type": "transfer", "destinationAccountId": "acc_savings" } },
{ "importedTransactionId": "bsi_3", "resolution": { "type": "reject" } }
]
}

The response has one result per item, in request order:

{
"items": [
{ "id": "bsi_1", "status": "resolved" },
{ "id": "bsi_2", "status": "failed", "errorCode": "transferCategoryRequired", "errorKey": "…" },
{ "id": "bsi_3", "status": "resolved" }
]
}

status is resolved or failed. A failed item has the stable error name in errorCode and a translation key for its message in errorKey, and stays in the Inbox untouched.

How items are handled​

  • Each item runs on its own, in its own transaction, under the same per-item lock the single resolve endpoint uses. A failed item never affects the others; partial success is normal and the request still returns 200.
  • Every item is resolved exactly as the single endpoint would resolve it, with the same checks, so a transfer that needs a category, a match whose amount differs, or an item that is pending at the bank or already handled fails with that item's own error.
  • Repeating a request is safe: an item already accepted (or, for a reject, already rejected) is reported resolved without a second transaction.
  • There is no fingerprint check. To approve only what a client was shown, use bulk-resolve-bank-sync-inbox, which re-evaluates each item and reports it stale when its suggestion has changed.
  • Resolving as a match can need an amount-mismatch decision. Send those one at a time with the single resolve endpoint.

Scopes, roles and limits​

Scopebank-sync:write
RoleA role that can review bank activity, the same as resolving one item
Maximum200 items per call
Rate limitDraws on api.bulk-write at a cost of 10
MCPNot available as an assistant tool. Assistants use bulk_approve_inbox_items, which previews and needs confirmation.

Errors​

StatusWhen
403The token lacks the scope, or the role can't review bank activity.
422No items, more than 200 (bankSyncBulkResolveTooManyItems), or a resolution that isn't valid. Nothing is changed.