---
title: "Get the payroll cache status"
method: GET
path: "/payroll/sync"
tags: ["Payroll"]
---

# Get the payroll cache status

`GET /payroll/sync`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/payroll/sync`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

When payrolls were last synced from Gusto, when the last sync fully completed, and how many payrolls are cached. Read-only; never calls Gusto. Scoped to the authorized organization.

## Response `200`

{source: gusto|sample, lastSyncedAt, payrollCount, lastCompletedAt, fresh}

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
