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).
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. Returnsdata.tracked_job_log_id.409— no paused provider GL sync is recorded for this connection (nothing to resume).422—connection_idmissing or not an integer.
Request
Responses
- 200
- 401
- 403
- 409
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Conflict
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.