Skip to main content

Resume Provider GL Journals Sync

POST 

/api/ledger/reconciliation/inventory/resume-journals

Manually resume a budget-paused provider GL journals sync from its stored cursor, instead of waiting for the hourly auto-resume sweep (ledger:reconciliation:resume-provider-sync).

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

When the metered backfill (see Sync Provider GL Journals) exhausts its reserved per-run provider-call budget, it pauses cleanly and records a resume cursor on the connection (integration_settings.inventoryReconSync: resume_offset, from, user_id, paused_at). This endpoint re-dispatches the tracked job from that cursor — same connection_id, full=false, picking up at the saved from / resume_offset — and returns the tracked job log id so the UI can follow it in the global progress tray.

Authentication: Requires Bearer token + accounting.sync permission.

Request body:

  • connection_id (integer, required): accounting connection id whose paused sync is resumed.

Responses:

  • 200 — a paused run existed; the resume job was dispatched. Returns data.tracked_job_log_id.
  • 409 — no paused provider GL sync is recorded for this connection (nothing to resume).
  • 422connection_id missing or not an integer.

Request

Responses

OK

Response Headers
    Content-Type