---
title: "Resync Abacus Account"
method: POST
path: "/abacus-accounts/{account_id}/resync"
tags: ["integrations"]
---

# Resync Abacus Account

`POST /abacus-accounts/{account_id}/resync`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/abacus-accounts/{account_id}/resync`
- Auth: none declared

Force a full re-backfill of an Abacus account (accountant/owner; resync plan §Manual
resync).

Row-locks the account (the poller's ``FOR UPDATE`` lock), resets every feed's
forward cursor (incl. both F2 split directions) to null and clears each watermark so
the next cron cycle re-walks the anchored backlog and re-stamps. Idempotent; does
NOT delete ingested data (dedup makes the re-walk a no-op). Returns the updated
account.

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- AbacusAccountResponse: ``GET/POST/PATCH /abacus-accounts/...`` → ``{"abacus_account": ...}``.
  - `abacus_account` AbacusAccountOut, required: Serialized abacus account (no secret); includes feed toggles + per-feed state.
    - `id` string, required
    - `company_id` string, required
    - `label` string, required
    - `enabled` boolean, required
    - `base_url` string, required
    - `mandant` string, required
    - `interface_version` string, required
    - `service_user` string, required
    - `fetch_journal` boolean, required
    - `fetch_invoices` boolean, required
    - `fetch_documents` boolean, required
    - `poll_batch_cap` integer, nullable
    - `feeds_config` object, nullable
    - `sync_state` object, nullable
    - `allow_private_host` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
