Skip to main content

Replay a past CSV sync (destructive)

POST 

/csv/resync

Deletes the transactions a previous csv-kind sync produced, then re-parses the exact same files from storage. Use it after a parser fix, or when an import came out wrong.

Scope is that sync run only — API-fetched data and other CSV imports on the same integration are untouched. Legs the transfer detector consumed into a merged Transfer are included: on a transfer shared with another integration, only this import’s leg is removed and the surviving side is relabelled from what remains, so it re-pairs once the files are back in.

Every file linked to the sync is replayed, including ones that previously ended failed or partial — that is usually the reason to resync at all.

Returns a NEW syncId to poll via GET /sync/{syncId}; the old run is linked as retryOfSyncId and its deletion counts land on the new sync’s deletionReport. The delete runs in the worker ahead of the re-parse, so a 202 means queued, not finished.

User-owned fields (label, fiat value, notes, comments, tags, per-leg price overrides, COA journals) are carried across the replay and re-applied to the re-imported rows.

Request​

Responses​

CSV resync queued